summaryrefslogtreecommitdiff
path: root/lib/algorithms
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2018-10-24 15:45:23 -0400
committerSimo Sorce <simo@redhat.com>2018-10-25 18:10:06 -0400
commit297aa769c3fc779848f8eb7dbd82ef3690483969 (patch)
tree3cc09282677c4e44f33d91766c8bafb74f3621af /lib/algorithms
parent2e30163b1fda16ae1e7373458f1cbbce96fe4a6b (diff)
downloadgnutls-297aa769c3fc779848f8eb7dbd82ef3690483969.tar.gz
Add selftest for CFB8
Diffstat (limited to 'lib/algorithms')
-rw-r--r--lib/algorithms/ciphers.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/algorithms/ciphers.c b/lib/algorithms/ciphers.c
index bbdb1c8524..1a8704be25 100644
--- a/lib/algorithms/ciphers.c
+++ b/lib/algorithms/ciphers.c
@@ -219,6 +219,27 @@ static const cipher_entry_st algorithms[] = {
.type = CIPHER_STREAM,
.implicit_iv = 8,
.cipher_iv = 8},
+ { .name = "AES-128-CFB8",
+ .id = GNUTLS_CIPHER_AES_128_CFB8,
+ .blocksize = 16,
+ .keysize = 16,
+ .type = CIPHER_BLOCK,
+ .explicit_iv = 16,
+ .cipher_iv = 16},
+ { .name = "AES-192-CFB8",
+ .id = GNUTLS_CIPHER_AES_192_CFB8,
+ .blocksize = 16,
+ .keysize = 24,
+ .type = CIPHER_BLOCK,
+ .explicit_iv = 16,
+ .cipher_iv = 16},
+ { .name = "AES-256-CFB8",
+ .id = GNUTLS_CIPHER_AES_256_CFB8,
+ .blocksize = 16,
+ .keysize = 32,
+ .type = CIPHER_BLOCK,
+ .explicit_iv = 16,
+ .cipher_iv = 16},
{ .name = "3DES-CBC",
.id = GNUTLS_CIPHER_3DES_CBC,
.blocksize = 8,