summaryrefslogtreecommitdiff
path: root/lib/gnutls_hash_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-25 14:07:47 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-01-25 14:07:47 +0000
commitc6ffff1521be158a561b9bebf98702f7adf87fab (patch)
treec1b1d5efc50e3c94f1c5761edf863a48306ac0ea /lib/gnutls_hash_int.h
parent867f47239c48f37a67d8233eef2285b76ced3d8e (diff)
downloadgnutls-c6ffff1521be158a561b9bebf98702f7adf87fab.tar.gz
Handshake messages are not kept in memory any more. Now we use less memory
during a handshake.
Diffstat (limited to 'lib/gnutls_hash_int.h')
-rw-r--r--lib/gnutls_hash_int.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_hash_int.h b/lib/gnutls_hash_int.h
index 03f34dbc9a..5745ce7c3b 100644
--- a/lib/gnutls_hash_int.h
+++ b/lib/gnutls_hash_int.h
@@ -45,8 +45,6 @@ typedef GNUTLS_MAC_HANDLE GNUTLS_HASH_HANDLE;
#define GNUTLS_HASH_FAILED NULL
#define GNUTLS_MAC_FAILED NULL
-#define gnutls_mac_ssl3 gnutls_hmac
-
GNUTLS_MAC_HANDLE gnutls_hmac_init( MACAlgorithm algorithm, void* key, int keylen);
int gnutls_hmac_get_algo_len(MACAlgorithm algorithm);
int gnutls_hmac(GNUTLS_MAC_HANDLE handle, const void* text, int textlen);
@@ -62,6 +60,8 @@ void gnutls_hash_deinit(GNUTLS_HASH_HANDLE handle, void* digest);
int gnutls_ssl3_generate_random(void *secret, int secret_len, void *random, int random_len, int bytes, opaque* ret);
-GNUTLS_MAC_HANDLE gnutls_mac_init_ssl3_handshake(MACAlgorithm algorithm, void *key, int keylen);
-void gnutls_mac_deinit_ssl3_handshake(GNUTLS_MAC_HANDLE handle, void* digest);
+void gnutls_mac_deinit_ssl3_handshake(GNUTLS_MAC_HANDLE handle, void* digest, opaque* key, uint32 key_size);
+
+GNUTLS_HASH_HANDLE gnutls_hash_copy(GNUTLS_HASH_HANDLE handle);
+
#endif /* GNUTLS_HASH_INT_H */