diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2020-09-27 21:04:14 +0300 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2020-09-27 21:04:14 +0300 |
commit | 2051d5bd6f732a36e5a536cba734531a9e2e915f (patch) | |
tree | a70519b44ae8da31a759b807562ba7e79e8ee633 /cipher/pubkey-internal.h | |
parent | 7679c918ade9d334bc80cb8c10916bbc847ff382 (diff) | |
download | libgcrypt-2051d5bd6f732a36e5a536cba734531a9e2e915f.tar.gz |
rijndael: clean-up prepare_decryption function
* cipher/rijndael-internal.h (rijndael_prepare_decfn_t): New.
(RIJNDAEL_context_s): New member 'prepare_decryption'.
* cipher/rijndael-padlock.c (_gcry_aes_padlock_prepare_decryption): New.
* cipher/rijndael.c (_gcry_aes_padlock_prepare_decryption): New.
(do_setkey): Setup 'ctx->prepare_decryption' for each acceleration type.
(prepare_decryption): Remove calls to other prepare decryption functions.
(check_decryption_preparation): Call 'ctx->prepare_decryption' instead
of 'prepare_decryption'.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/pubkey-internal.h')
0 files changed, 0 insertions, 0 deletions