summaryrefslogtreecommitdiff
path: root/lib/crypto.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2009-11-29 12:08:44 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2009-11-29 12:23:25 +0200
commitbc3e43d5f121e404aa32212dcfcc5027de807056 (patch)
treeb4993e96b3e23ba1b4f63fff5b00dd9d1bf3e31b /lib/crypto.h
parent0477fd0883cbd9cd9809c3b8029ce146187b5431 (diff)
downloadgnutls-bc3e43d5f121e404aa32212dcfcc5027de807056.tar.gz
Merged the two internal hash API functions, to simplify and reduce code.
gnutls_hmac* and gnutls_hash* were merged to gnutls_hash API.
Diffstat (limited to 'lib/crypto.h')
-rw-r--r--lib/crypto.h5
1 files changed, 2 insertions, 3 deletions
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 */