From a8f0cc2e69e442d900978395e07d0559afac7730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sun, 19 Mar 2017 15:30:13 +0100 Subject: [PATCH] Neither AES nor DES have keystream functions. --- include/cryb/aes.h | 2 -- include/cryb/des.h | 1 - 2 files changed, 3 deletions(-) diff --git a/include/cryb/aes.h b/include/cryb/aes.h index cf2fc3b..d2a368a 100644 --- a/include/cryb/aes.h +++ b/include/cryb/aes.h @@ -43,7 +43,6 @@ CRYB_BEGIN #define aes_cipher cryb_aes_cipher #define aes_ctx cryb_aes_ctx #define aes_init cryb_aes_init -#define aes_keystream cryb_aes_keystream #define aes_encrypt cryb_aes_encrypt #define aes_decrypt cryb_aes_decrypt #define aes_finish cryb_aes_finish @@ -59,7 +58,6 @@ typedef struct { } aes_ctx; void aes_init(aes_ctx *, cipher_mode mode, const uint8_t *, size_t); -size_t aes_keystream(aes_ctx *, uint8_t *, size_t); size_t aes_encrypt(aes_ctx *, const void *, uint8_t *, size_t); size_t aes_decrypt(aes_ctx *, const uint8_t *, void *, size_t); void aes_finish(aes_ctx *); diff --git a/include/cryb/des.h b/include/cryb/des.h index 0c574e7..bf71147 100644 --- a/include/cryb/des.h +++ b/include/cryb/des.h @@ -46,7 +46,6 @@ CRYB_BEGIN #define des268_cipher cryb_des168_cipher #define des_ctx cryb_des_ctx #define des_init cryb_des_init -#define des_keystream cryb_des_keystream #define des_encrypt cryb_des_encrypt #define des_decrypt cryb_des_decrypt #define des_finish cryb_des_finish