diff options
author | Werner Koch <wk@gnupg.org> | 2016-04-14 14:39:31 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-04-14 14:39:31 +0200 |
commit | 47c6a1f88eb763e9baa394e34d873b761abcebbe (patch) | |
tree | 56d9c5ca4753225bf1e82dec51df0773317e1121 /doc/gcrypt.texi | |
parent | 88c6b98350193abbdcfb227754979b0c097ee09c (diff) | |
download | libgcrypt-47c6a1f88eb763e9baa394e34d873b761abcebbe.tar.gz |
cipher: Add constant for 8 bit CFB mode.
* src/gcrypt.h.in (GCRY_CIPHER_MODE_CFB8): New.
* tests/basic.c (check_cfb_cipher): Prepare for CFB-8 tests.
--
Note that there is no implementation for the 8 bit CFB mode yet. We
will add that as a bug fix after the release of 1.7.0.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/gcrypt.texi')
-rw-r--r-- | doc/gcrypt.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index a78c5fd7..0171cd62 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -1598,9 +1598,12 @@ set, this mode may be used to bypass the actual encryption. Electronic Codebook mode. @item GCRY_CIPHER_MODE_CFB +@item GCRY_CIPHER_MODE_CFB8 @cindex CFB, Cipher Feedback mode -Cipher Feedback mode. The shift size equals the block size of the -cipher (e.g. for AES it is CFB-128). +Cipher Feedback mode. For GCRY_CIPHER_MODE_CFB the shift size equals +the block size of the cipher (e.g. for AES it is CFB-128). For +GCRY_CIPHER_MODE_CFB8 the shift size is 8 bit but that variant is not +yet available. @item GCRY_CIPHER_MODE_CBC @cindex CBC, Cipher Block Chaining mode |