summaryrefslogtreecommitdiff
path: root/lib/crypto.h
diff options
context:
space:
mode:
authorNikos <nmav@crystal.(none)>2008-03-16 11:17:55 +0200
committerNikos <nmav@crystal.(none)>2008-03-16 11:17:55 +0200
commita1cd6fe1a072717d2c33fd5a20306741c86399ae (patch)
treecda9b8f8412d1e14c1864c976add689f2d7def93 /lib/crypto.h
parentac6bc2abdd43c0becc60f89be11adc0bc42dab00 (diff)
downloadgnutls-a1cd6fe1a072717d2c33fd5a20306741c86399ae.tar.gz
Added functionality to override (register) a cipher. Initial functionality for MAC and digest algorithms.
Diffstat (limited to 'lib/crypto.h')
-rw-r--r--lib/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/crypto.h b/lib/crypto.h
new file mode 100644
index 0000000000..eb695a8757
--- /dev/null
+++ b/lib/crypto.h
@@ -0,0 +1,3 @@
+gnutls_crypto_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo);
+gnutls_crypto_digest_st *_gnutls_get_crypto_digest( gnutls_digest_algorithm_t algo);
+gnutls_crypto_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo);