Home GnuPG

Implement CFB with 8-bit mode
d1ee9a660571Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Implement CFB with 8-bit mode

* cipher/cipher-cfb.c (_gcry_cipher_cfb8_encrypt)
(_gcry_cipher_cfg8_decrypt): Add 8-bit variants of decrypt/encrypt
functions.
* cipher/cipher-internal.h (_gcry_cipher_cfb8_encrypt)
(_gcry_cipher_cfg8_decrypt): Ditto.
* cipher/cipher.c: Adjust code flow to work with GCRY_CIPHER_MODE_CFB8.
* tests/basic.c: Add tests for cfb8 with AES and 3DES.

[JK: edit changelog, fix email malformed patch]

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
Mathias L. Baumann <mathias.baumann_at_sociomantic.com>Authored on Feb 4 2017, 12:30 PM
jukiviliCommitted on Feb 4 2017, 12:31 PM
Parents
rC80bd6195c794: Register DCO for Mathias L. Baumann
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rCd1ee9a660571: Implement CFB with 8-bit mode (authored by Mathias L. Baumann <mathias.baumann_at_sociomantic.com>).Feb 4 2017, 12:31 PM