diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-24 17:35:31 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-24 17:35:31 +0300 |
commit | f4eb1f376a8dad10daf8ba4acf0a2095169af179 (patch) | |
tree | e9b5c36726d3e55b612c84d8d777d1f80b2b6993 /src/aes128.asm | |
parent | bugfix (diff) | |
download | aes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.tar.gz aes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.zip |
add higher-level encrypt/decrypt functions
Diffstat (limited to 'src/aes128.asm')
-rw-r--r-- | src/aes128.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/aes128.asm b/src/aes128.asm index dfa7a7d..b375daf 100644 --- a/src/aes128.asm +++ b/src/aes128.asm @@ -16,7 +16,7 @@ inverted_key_schedule oword 11 dup(0) .code -@aes128ecb_encrypt@32 proc +@raw_aes128ecb_encrypt@32 proc call expand_keys_128ecb pxor xmm0, [key_schedule] aesenc xmm0, [key_schedule + 10h] @@ -30,9 +30,9 @@ inverted_key_schedule oword 11 dup(0) aesenc xmm0, [key_schedule + 90h] aesenclast xmm0, [key_schedule + 0A0h] ret -@aes128ecb_encrypt@32 endp +@raw_aes128ecb_encrypt@32 endp -@aes128ecb_decrypt@32 proc +@raw_aes128ecb_decrypt@32 proc call expand_keys_128ecb pxor xmm0, [inverted_key_schedule] aesdec xmm0, [inverted_key_schedule + 10h] @@ -46,7 +46,7 @@ inverted_key_schedule oword 11 dup(0) aesdec xmm0, [inverted_key_schedule + 90h] aesdeclast xmm0, [inverted_key_schedule + 0A0h] ret -@aes128ecb_decrypt@32 endp +@raw_aes128ecb_decrypt@32 endp expand_keys_128ecb proc lea ecx, [key_schedule + 10h] |