From: Nikos Mavrogiannopoulos Date: Sat, 4 Jun 2011 07:31:03 +0000 (+0200) Subject: gnutls_ecc_curve_get() was added. X-Git-Tag: gnutls_2_99_3~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c2fecee547e48cfda99635c4d7a76b9d9df6f06;p=thirdparty%2Fgnutls.git gnutls_ecc_curve_get() was added. --- diff --git a/NEWS b/NEWS index 4acf21b049..abf9d1855c 100644 --- a/NEWS +++ b/NEWS @@ -5,12 +5,24 @@ See the end for copying conditions. * Version 2.99.3 (unreleased) +** libgnutls: Added gnutls_pubkey_verify_data2() that will +verify data provided the signature algorithm. + +** libgnutls: Simplified the handling of handshake messages to +be hashed. Instead of hashing during the handshake process we now +keep the data until handshake is over and hash them on request. +This uses more memory but eliminates issues with TLS 1.2 and +simplifies code. + ** libgnutls: Added AES-GCM optimizations using the PCLMULQDQ instruction. Uses Andy Polyakov's assembly code. ** libgnutls: Added ECDHE-PSK ciphersuites for TLS (RFC 5489). ** API and ABI modifications: +gnutls_pubkey_verify_data2: ADDED +gnutls_ecc_curve_get: ADDED +gnutls_x509_privkey_verify_data: REMOVED gnutls_crypto_bigint_register: REMOVED gnutls_crypto_cipher_register: REMOVED gnutls_crypto_digest_register: REMOVED diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in index 9375f6acb5..95a575ff09 100644 --- a/lib/includes/gnutls/gnutls.h.in +++ b/lib/includes/gnutls/gnutls.h.in @@ -747,6 +747,7 @@ typedef enum /* Elliptic curves */ const char * gnutls_ecc_curve_get_name (gnutls_ecc_curve_t curve); int gnutls_ecc_curve_get_size (gnutls_ecc_curve_t curve); +gnutls_ecc_curve_t gnutls_ecc_curve_get(gnutls_session_t session); /* get information on the current session */ gnutls_cipher_algorithm_t gnutls_cipher_get (gnutls_session_t session); diff --git a/lib/libgnutls.map b/lib/libgnutls.map index 5c47ea3b57..6290a14799 100644 --- a/lib/libgnutls.map +++ b/lib/libgnutls.map @@ -706,6 +706,7 @@ GNUTLS_3_0_0 { gnutls_global_set_audit_log_function; gnutls_ecc_curve_get_name; gnutls_ecc_curve_get_size; + gnutls_ecc_curve_get; gnutls_pubkey_get_pk_ecc_raw; gnutls_x509_privkey_export_ecc_raw; gnutls_x509_privkey_import_ecc_raw;