Home GnuPG

cast5: read Kr four blocks at time and shift for current round

Description

cast5: read Kr four blocks at time and shift for current round

* cipher/cast5.c (do_encrypt_block, do_decrypt_block): Read Kr as
32-bit words instead of bytes and shift value for each round.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 31 2019, 5:25 PM
Parents
rC0fe918fa897c: Add helper function for adding value to cipher block
Branches
Unknown
Tags
Unknown