summaryrefslogtreecommitdiff
path: root/lib/crypto.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-05 11:47:33 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2009-12-05 11:47:33 +0200
commit0d3a8537747e8460459a9a97a6f68c1510a65c1f (patch)
treec17cfe798503679e703cad8eb235dfde38287f62 /lib/crypto.h
parente64d8f55e46fe0638191e1c01f6bde303753d91b (diff)
downloadgnutls-0d3a8537747e8460459a9a97a6f68c1510a65c1f.tar.gz
Reverted all previous changes to combine hashes with MAC algorithms.
It is now permissible to register a hash algorithm separately from a MAC.
Diffstat (limited to 'lib/crypto.h')
-rw-r--r--lib/crypto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto.h b/lib/crypto.h
index f93ac1e550..508fce670a 100644
--- a/lib/crypto.h
+++ b/lib/crypto.h
@@ -25,9 +25,9 @@
#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_digest( gnutls_digest_algorithm_t algo);
+const gnutls_crypto_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo);
void _gnutls_crypto_deregister(void);
#endif /* CRYPTO_H */