From bc3e43d5f121e404aa32212dcfcc5027de807056 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 29 Nov 2009 12:08:44 +0200 Subject: Merged the two internal hash API functions, to simplify and reduce code. gnutls_hmac* and gnutls_hash* were merged to gnutls_hash API. --- lib/crypto.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/crypto.h') diff --git a/lib/crypto.h b/lib/crypto.h index f93ac1e550..31be19917a 100644 --- a/lib/crypto.h +++ b/lib/crypto.h @@ -25,9 +25,8 @@ #ifndef CRYPTO_H # define CRYPTO_H -gnutls_crypto_single_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo); -gnutls_crypto_single_digest_st *_gnutls_get_crypto_digest( gnutls_digest_algorithm_t algo); -gnutls_crypto_single_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo); +const gnutls_crypto_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo); +const gnutls_crypto_digest_st *_gnutls_get_crypto_mac( gnutls_digest_algorithm_t algo); void _gnutls_crypto_deregister(void); #endif /* CRYPTO_H */ -- cgit v1.2.1