Simplified the handling of handshake messages to be hashed.
commit75b493132239e824d671f4b09d1dfd0f7ca6a8b1
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 3 Jun 2011 10:28:26 +0000 (3 12:28 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 3 Jun 2011 11:32:54 +0000 (3 13:32 +0200)
treeb015640b1ee2f1f1495952e531c028e98d502000
parent8020421946266ad6499cadff7a451a39fc36d88e
Simplified the handling of handshake messages to be hashed.
Instead of doing a hash during the handshake process we now keep
the data until handshake is over and hash them on demand. This
uses more memory but eliminates issues with TLS 1.2 and makes
the handling simpler.
lib/algorithms.h
lib/algorithms/ciphersuites.c
lib/algorithms/sign.c
lib/ext/signature.c
lib/gnutls_buffers.c
lib/gnutls_buffers.h
lib/gnutls_handshake.c
lib/gnutls_int.h
lib/gnutls_sig.c
lib/nettle/pk.c