diff options
Diffstat (limited to 'providers/common/ciphers/aes.c')
-rw-r--r-- | providers/common/ciphers/aes.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/providers/common/ciphers/aes.c b/providers/common/ciphers/aes.c index 1f3a4136eb..a7af6a6773 100644 --- a/providers/common/ciphers/aes.c +++ b/providers/common/ciphers/aes.c @@ -205,6 +205,19 @@ IMPLEMENT_new_ctx(ofb, OFB, 256) IMPLEMENT_new_ctx(ofb, OFB, 192) IMPLEMENT_new_ctx(ofb, OFB, 128) +/* CFB */ +IMPLEMENT_new_params(cfb, CFB) +IMPLEMENT_new_params(cfb1, CFB) +IMPLEMENT_new_params(cfb8, CFB) +IMPLEMENT_new_ctx(cfb, CFB, 256) +IMPLEMENT_new_ctx(cfb, CFB, 192) +IMPLEMENT_new_ctx(cfb, CFB, 128) +IMPLEMENT_new_ctx(cfb1, CFB, 256) +IMPLEMENT_new_ctx(cfb1, CFB, 192) +IMPLEMENT_new_ctx(cfb1, CFB, 128) +IMPLEMENT_new_ctx(cfb8, CFB, 256) +IMPLEMENT_new_ctx(cfb8, CFB, 192) +IMPLEMENT_new_ctx(cfb8, CFB, 128) static void aes_freectx(void *vctx) { @@ -338,3 +351,14 @@ IMPLEMENT_block_funcs(cbc, 128, 16) IMPLEMENT_stream_funcs(ofb, 256, 16) IMPLEMENT_stream_funcs(ofb, 192, 16) IMPLEMENT_stream_funcs(ofb, 128, 16) + +/* CFB */ +IMPLEMENT_stream_funcs(cfb, 256, 16) +IMPLEMENT_stream_funcs(cfb, 192, 16) +IMPLEMENT_stream_funcs(cfb, 128, 16) +IMPLEMENT_stream_funcs(cfb1, 256, 16) +IMPLEMENT_stream_funcs(cfb1, 192, 16) +IMPLEMENT_stream_funcs(cfb1, 128, 16) +IMPLEMENT_stream_funcs(cfb8, 256, 16) +IMPLEMENT_stream_funcs(cfb8, 192, 16) +IMPLEMENT_stream_funcs(cfb8, 128, 16) |