diff options
Diffstat (limited to 'src/libtls/tls_crypto.h')
-rw-r--r-- | src/libtls/tls_crypto.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libtls/tls_crypto.h b/src/libtls/tls_crypto.h index b92af1bf6..cc83df300 100644 --- a/src/libtls/tls_crypto.h +++ b/src/libtls/tls_crypto.h @@ -398,11 +398,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. + * Create an enumerator over supported ECDH groups. * - * @param writer writer to write elliptic curves to + * Enumerates over (diffie_hellman_group_t, tls_named_curve_t) + * + * @return enumerator */ - void (*get_curves)(tls_crypto_t *this, tls_writer_t *writer); + enumerator_t* (*create_ec_enumerator)(tls_crypto_t *this); /** * Set the protection layer of the TLS stack to control it. |