From 6b070da3e039d2ca7accae8489d8bc4a44ba652a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 Jun 2015 20:55:09 +0300 Subject: implement CBC wrappers in C --- src/aes128.asm | 11 ----------- src/aes192.asm | 11 ----------- src/aes256.asm | 11 ----------- 3 files changed, 33 deletions(-) (limited to 'src') 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]`. -- cgit v1.2.3