Home GnuPG

camellia: add parallel processing for CFB decryption
b60f06f70227Unpublished

Unpublished Commit · Learn More

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

Description

camellia: add parallel processing for CFB decryption

* cipher/camellia-aesni-avx-amd64.S
(_gcry_camellia_aesni_avx_cfb_dec): New function.
* cipher/camellia-glue.c (_gcry_camellia_aesni_avx_cfb_dec): New
prototype.
(_gcry_camellia_cfb_dec): New function.
(selftest_cfb_128): New function.
(selftest): Call selftest_cfb_128.
* cipher/cipher.c (gry_cipher_open): Add bulk CFB decryption function
for Camellia.
* src/cipher.h (_gcry_camellia_cfb_dec): New prototype.

Patch makes Camellia-CFB decryption 4.7 times faster on Intel Sandy-Bridge.

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

Details

Provenance
jukiviliAuthored on May 23 2013, 1:15 PM
wernerCommitted on May 23 2013, 5:34 PM
Parents
rC319ee14f2aab: rinjdael: add parallel processing for CFB decryption with AES-NI
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCb60f06f70227: camellia: add parallel processing for CFB decryption (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).May 23 2013, 5:34 PM