summaryrefslogtreecommitdiff
path: root/lib/crypto/aes.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-09-18 01:04:02 +0200
committerStefan Metzmacher <metze@samba.org>2011-01-03 17:32:07 +0100
commitea5940e7eb099feb693f53bb725fc55f3d5d5ef0 (patch)
treec20cbe3be64be89a88965b22aab8936c69c54177 /lib/crypto/aes.h
parent2d466b41cd20d0162d3fa4cd29a83bbc20d00454 (diff)
downloadsamba-ea5940e7eb099feb693f53bb725fc55f3d5d5ef0.tar.gz
samba-ea5940e7eb099feb693f53bb725fc55f3d5d5ef0.tar.bz2
samba-ea5940e7eb099feb693f53bb725fc55f3d5d5ef0.zip
lib/crypto: add aes_cfb8_encrypt()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/crypto/aes.h')
-rw-r--r--lib/crypto/aes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/aes.h b/lib/crypto/aes.h
index e74d345215..a2b6c077e6 100644
--- a/lib/crypto/aes.h
+++ b/lib/crypto/aes.h
@@ -72,6 +72,10 @@ void AES_cbc_encrypt(const unsigned char *, unsigned char *,
const unsigned long, const AES_KEY *,
unsigned char *, int);
+void aes_cfb8_encrypt(const uint8_t *in, uint8_t *out,
+ size_t length, const AES_KEY *key,
+ uint8_t *iv, int forward);
+
#ifdef __cplusplus
}
#endif