Fix inlining of ocb_get_l for x86 AES implementations
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 6 Nov 2018 18:27:34 +0000 (20:27 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 6 Nov 2018 18:27:34 +0000 (20:27 +0200)
commit9d6431604b5ee21572c1c2cfa8376e6d81162cbb
tree00fa286ccf58be504798d0d075831873998b7021
parent23f56d3359ca7d152aa87874ddd6305171a91408
Fix inlining of ocb_get_l for x86 AES implementations

* cipher/rijndael-aesni.c (aes_ocb_get_l): New.
(aesni_ocb_enc, aesni_ocb_dec, _gcry_aes_aesni_ocb_auth): Use
'aes_ocb_get_l'.
* cipher/rijndael-ssse3-amd4.c (aes_ocb_get_l): New.
(ssse3_ocb_enc, ssse3_ocb_dec, _gcry_aes_ssse3_ocb_auth): Use
'aes_ocb_get_l'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/rijndael-aesni.c
cipher/rijndael-ssse3-amd64.c