aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/aes256ecb.asm
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 17:35:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 17:35:31 +0300
commitf4eb1f376a8dad10daf8ba4acf0a2095169af179 (patch)
treee9b5c36726d3e55b612c84d8d777d1f80b2b6993 /src/aes256ecb.asm
parentbugfix (diff)
downloadaes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.tar.gz
aes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.zip
add higher-level encrypt/decrypt functions
Diffstat (limited to 'src/aes256ecb.asm')
-rw-r--r--src/aes256ecb.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/aes256ecb.asm b/src/aes256ecb.asm
index 4246dee..f67f4bd 100644
--- a/src/aes256ecb.asm
+++ b/src/aes256ecb.asm
@@ -16,7 +16,7 @@ inverse_key_schedule oword 15 dup(0)
.code
-@aes256ecb_encrypt@48 proc
+@raw_aes256ecb_encrypt@48 proc
call expand_keys_256ecb
pxor xmm0, [key_schedule]
aesenc xmm0, [key_schedule + 10h]
@@ -34,7 +34,7 @@ inverse_key_schedule oword 15 dup(0)
aesenc xmm0, [key_schedule + 0D0h]
aesenclast xmm0, [key_schedule + 0E0h]
ret
-@aes256ecb_encrypt@48 endp
+@raw_aes256ecb_encrypt@48 endp
expand_keys_256ecb proc
lea edx, [key_schedule + 20h]
@@ -158,7 +158,7 @@ invert_key_schedule:
ret
expand_keys_256ecb endp
-@aes256ecb_decrypt@48 proc
+@raw_aes256ecb_decrypt@48 proc
call expand_keys_256ecb
pxor xmm0, [inverse_key_schedule]
aesdec xmm0, [inverse_key_schedule + 10h]
@@ -174,8 +174,8 @@ expand_keys_256ecb endp
aesdec xmm0, [inverse_key_schedule + 0B0h]
aesdec xmm0, [inverse_key_schedule + 0C0h]
aesdec xmm0, [inverse_key_schedule + 0D0h]
- aesdeclast xmm0, [inverse_key_schedule + 0E0h]
+ aesdeclast xmm0, [inverse_key_schedule + 0E0h]
ret
-@aes256ecb_decrypt@48 endp
+@raw_aes256ecb_decrypt@48 endp
end