summaryrefslogtreecommitdiff
path: root/lib/crypto.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-05 10:08:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-05 10:08:22 +0200
commite64d8f55e46fe0638191e1c01f6bde303753d91b (patch)
tree4e0a97352bd5e8d10d3f8e77599e8d29b0511668 /lib/crypto.h
parent73d29186d2c962ec53aae56e0d1aeb2cab073628 (diff)
downloadgnutls-e64d8f55e46fe0638191e1c01f6bde303753d91b.tar.gz
Revert "Merged the two internal hash API functions, to simplify and reduce code."
This reverts commit bc3e43d5f121e404aa32212dcfcc5027de807056. Conflicts: lib/crypto.c lib/gnutls_cipher.c lib/gnutls_hash_int.c lib/gnutls_hash_int.h lib/includes/gnutls/crypto.h lib/mac-libgcrypt.c
Diffstat (limited to 'lib/crypto.h')
-rw-r--r--lib/crypto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crypto.h b/lib/crypto.h
index 31be19917a..f93ac1e550 100644
--- a/lib/crypto.h
+++ b/lib/crypto.h
@@ -25,8 +25,9 @@
#ifndef CRYPTO_H
# define CRYPTO_H
-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);
+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);
void _gnutls_crypto_deregister(void);
#endif /* CRYPTO_H */