summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-04 09:31:03 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-04 09:31:03 +0200
commit1c2fecee547e48cfda99635c4d7a76b9d9df6f06 (patch)
treeec0b7ae65df07d7f28412ff63d4050ea02ad7853
parent31ab16d6491aabf9bee7516304e52ee215b44724 (diff)
downloadgnutls-1c2fecee547e48cfda99635c4d7a76b9d9df6f06.tar.gz
gnutls_ecc_curve_get() was added.
-rw-r--r--NEWS12
-rw-r--r--lib/includes/gnutls/gnutls.h.in1
-rw-r--r--lib/libgnutls.map1
3 files changed, 14 insertions, 0 deletions
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;