diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-03 20:55:09 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-03 20:55:09 +0300 |
commit | 6b070da3e039d2ca7accae8489d8bc4a44ba652a (patch) | |
tree | 96fde3d04e1396cb5365d41991f3fc71498e964e /src | |
parent | add FIPS-style block parsing functions (diff) | |
download | aes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.tar.gz aes-tools-6b070da3e039d2ca7accae8489d8bc4a44ba652a.zip |
implement CBC wrappers in C
Diffstat (limited to '')
-rw-r--r-- | src/aes128.asm | 11 | ||||
-rw-r--r-- | src/aes192.asm | 11 | ||||
-rw-r--r-- | src/aes256.asm | 11 |
3 files changed, 0 insertions, 33 deletions
diff --git a/src/aes128.asm b/src/aes128.asm index 577e582..0153feb 100644 --- a/src/aes128.asm +++ b/src/aes128.asm @@ -23,11 +23,6 @@ ret @raw_aes128ecb_encrypt@20 endp -@raw_aes128cbc_encrypt@24 proc - pxor xmm0, [edx] - jmp @raw_aes128ecb_encrypt@20 -@raw_aes128cbc_encrypt@24 endp - @raw_aes128ecb_decrypt@20 proc pxor xmm0, [ecx] aesdec xmm0, [ecx + 10h] @@ -43,12 +38,6 @@ ret @raw_aes128ecb_decrypt@20 endp -@raw_aes128cbc_decrypt@24 proc - call @raw_aes128ecb_decrypt@20 - pxor xmm0, [edx] - ret -@raw_aes128cbc_decrypt@24 endp - @raw_aes128_expand_key_schedule@20 proc ; A "word" (in terms of the FIPS 187 standard) is a 32-bit block. ; Words are denoted by `w[N]`. diff --git a/src/aes192.asm b/src/aes192.asm index 2cba7ba..f3a56a8 100644 --- a/src/aes192.asm +++ b/src/aes192.asm @@ -25,11 +25,6 @@ ret @raw_aes192ecb_encrypt@20 endp -@raw_aes192cbc_encrypt@24 proc - pxor xmm0, [edx] - jmp @raw_aes192ecb_encrypt@20 -@raw_aes192cbc_encrypt@24 endp - @raw_aes192ecb_decrypt@20 proc pxor xmm0, [ecx] aesdec xmm0, [ecx + 10h] @@ -47,12 +42,6 @@ ret @raw_aes192ecb_decrypt@20 endp -@raw_aes192cbc_decrypt@24 proc - call @raw_aes192ecb_decrypt@20 - pxor xmm0, [edx] - ret -@raw_aes192cbc_decrypt@24 endp - @raw_aes192_expand_key_schedule@36 proc ; A "word" (in terms of the FIPS 187 standard) is a 32-bit block. ; Words are denoted by `w[N]`. diff --git a/src/aes256.asm b/src/aes256.asm index a2bee04..41921dd 100644 --- a/src/aes256.asm +++ b/src/aes256.asm @@ -27,11 +27,6 @@ ret @raw_aes256ecb_encrypt@20 endp -@raw_aes256cbc_encrypt@24 proc - pxor xmm0, [edx] - jmp @raw_aes256ecb_encrypt@20 -@raw_aes256cbc_encrypt@24 endp - @raw_aes256ecb_decrypt@20 proc pxor xmm0, [ecx] aesdec xmm0, [ecx + 10h] @@ -51,12 +46,6 @@ ret @raw_aes256ecb_decrypt@20 endp -@raw_aes256cbc_decrypt@24 proc - call @raw_aes256ecb_decrypt@20 - pxor xmm0, [edx] - ret -@raw_aes256cbc_decrypt@24 endp - @raw_aes256_expand_key_schedule@36 proc ; A "word" (in terms of the FIPS 187 standard) is a 32-bit block. ; Words are denoted by `w[N]`. |