lib/crypto: add aes_cfb8_encrypt()
[idra/samba.git] / lib / crypto / aes.h
index e74d3452152bbe41428a03d00143d04a6ea65321..a2b6c077e66956748092967bc4e77dab40eb555d 100644 (file)
@@ -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