summaryrefslogtreecommitdiff
path: root/cipher/pubkey-internal.h
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2020-09-27 21:04:14 +0300
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2020-09-27 21:04:14 +0300
commit2051d5bd6f732a36e5a536cba734531a9e2e915f (patch)
treea70519b44ae8da31a759b807562ba7e79e8ee633 /cipher/pubkey-internal.h
parent7679c918ade9d334bc80cb8c10916bbc847ff382 (diff)
downloadlibgcrypt-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