aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_crypto.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-09-03 11:45:55 +0200
committerMartin Willi <martin@revosec.ch>2010-09-03 14:54:43 +0200
commit37a59a8fbfc6f3203ecf79d9294fc10af981baf0 (patch)
treed191131092609f749d3e49ee5311ae261e46d55d /src/libtls/tls_crypto.h
parent141d7f7abd179fbc3f5c46e2f66fb75b01342886 (diff)
downloadstrongswan-37a59a8fbfc6f3203ecf79d9294fc10af981baf0.tar.bz2
strongswan-37a59a8fbfc6f3203ecf79d9294fc10af981baf0.tar.xz
Support for EC curve Hello extension, EC curve fallback
Diffstat (limited to 'src/libtls/tls_crypto.h')
-rw-r--r--src/libtls/tls_crypto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libtls/tls_crypto.h b/src/libtls/tls_crypto.h
index a17e93fb1..24d1a23a2 100644
--- a/src/libtls/tls_crypto.h
+++ b/src/libtls/tls_crypto.h
@@ -396,6 +396,13 @@ struct tls_crypto_t {
void (*get_signature_algorithms)(tls_crypto_t *this, tls_writer_t *writer);
/**
+ * Write the list of supported elliptic curves to writer.
+ *
+ * @param writer writer to write elliptic curves to
+ */
+ void (*get_curves)(tls_crypto_t *this, tls_writer_t *writer);
+
+ /**
* Set the protection layer of the TLS stack to control it.
*
* @param protection protection layer to work on