diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-30 00:38:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-30 00:38:19 +0300 |
commit | b08c0e5b32c625215bee0ae96a023733d34e9357 (patch) | |
tree | 8f809b7f483ba11d2e4e2a235f3e7c9bc9b78ccb /include/aesni/raw.h | |
parent | merge aes256{ecb,cbc}.asm (diff) | |
download | aes-tools-b08c0e5b32c625215bee0ae96a023733d34e9357.tar.gz aes-tools-b08c0e5b32c625215bee0ae96a023733d34e9357.zip |
support AES-{128,192}-cbc
Diffstat (limited to 'include/aesni/raw.h')
-rw-r--r-- | include/aesni/raw.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/aesni/raw.h b/include/aesni/raw.h index d648cac..ffda8d2 100644 --- a/include/aesni/raw.h +++ b/include/aesni/raw.h @@ -17,6 +17,15 @@ AesBlock128 __fastcall raw_aes128ecb_decrypt( AesBlock128 cypher, AesBlock128 key); +AesBlock128 __fastcall raw_aes128cbc_encrypt( + AesBlock128 plain, + AesBlock128 key, + AesBlock128* iv); +AesBlock128 __fastcall raw_aes128cbc_decrypt( + AesBlock128 cypher, + AesBlock128 key, + AesBlock128* iv); + AesBlock128 __fastcall raw_aes192ecb_encrypt( AesBlock128 plain, AesBlock128 key_lo, @@ -26,6 +35,17 @@ AesBlock128 __fastcall raw_aes192ecb_decrypt( AesBlock128 key_lo, AesBlock128 key_hi); +AesBlock128 __fastcall raw_aes192cbc_encrypt( + AesBlock128 plain, + AesBlock128 key_lo, + AesBlock128 key_hi, + AesBlock128 *iv); +AesBlock128 __fastcall raw_aes192cbc_decrypt( + AesBlock128 cypher, + AesBlock128 key_lo, + AesBlock128 key_hi, + AesBlock128 *iv); + AesBlock128 __fastcall raw_aes256ecb_encrypt( AesBlock128 plain, AesBlock128 key_lo, |