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/aes192.asm | |
parent | bugfix (diff) | |
download | aes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.tar.gz aes-tools-f4eb1f376a8dad10daf8ba4acf0a2095169af179.zip |
add higher-level encrypt/decrypt functions
Diffstat (limited to 'src/aes192.asm')
-rw-r--r-- | src/aes192.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/aes192.asm b/src/aes192.asm index fd92426..9695961 100644 --- a/src/aes192.asm +++ b/src/aes192.asm @@ -16,7 +16,7 @@ inverted_key_schedule oword 13 dup(0) .code -@aes192ecb_encrypt@48 proc +@raw_aes192ecb_encrypt@48 proc call expand_keys_192ecb pxor xmm0, [key_schedule] aesenc xmm0, [key_schedule + 10h] @@ -32,9 +32,9 @@ inverted_key_schedule oword 13 dup(0) aesenc xmm0, [key_schedule + 0B0h] aesenclast xmm0, [key_schedule + 0C0h] ret -@aes192ecb_encrypt@48 endp +@raw_aes192ecb_encrypt@48 endp -@aes192ecb_decrypt@48 proc +@raw_aes192ecb_decrypt@48 proc call expand_keys_192ecb pxor xmm0, [inverted_key_schedule] aesdec xmm0, [inverted_key_schedule + 10h] @@ -50,7 +50,7 @@ inverted_key_schedule oword 13 dup(0) aesdec xmm0, [inverted_key_schedule + 0B0h] aesdeclast xmm0, [inverted_key_schedule + 0C0h] ret -@aes192ecb_decrypt@48 endp +@raw_aes192ecb_decrypt@48 endp expand_keys_192ecb proc ; key = k0 k1 k2 k3 k4 k5 @@ -189,7 +189,7 @@ invert_key_schedule: aesimc xmm7, [key_schedule + 60h] movdqa [inverted_key_schedule + 60h], xmm7 - + ret expand_keys_192ecb endp |