aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aes/src/asm/aes256.asm
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-07-20 21:32:29 +0200
committerEgor Tensin <egor@tensin.name>2026-07-20 21:32:29 +0200
commitf2c9b2934b9be0f93105c411f5dbea564800fc3f (patch)
tree1fd5b3d68904e44768273ee52598acd09dc04b14 /aes/src/asm/aes256.asm
parentget rid of outdated __inline (diff)
downloadaes-tools-f2c9b2934b9be0f93105c411f5dbea564800fc3f.tar.gz
aes-tools-f2c9b2934b9be0f93105c411f5dbea564800fc3f.zip
remove a few levels of stupid indirection
Diffstat (limited to 'aes/src/asm/aes256.asm')
-rw-r--r--aes/src/asm/aes256.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/aes/src/asm/aes256.asm b/aes/src/asm/aes256.asm
index 82f5f6f..4c6c07c 100644
--- a/aes/src/asm/aes256.asm
+++ b/aes/src/asm/aes256.asm
@@ -9,7 +9,7 @@
.code
-@aes_AES256_encrypt_block_@20 proc
+@aes256_encrypt_block_@20 proc
pxor xmm0, [ecx]
aesenc xmm0, [ecx + 10h]
aesenc xmm0, [ecx + 20h]
@@ -26,9 +26,9 @@
aesenc xmm0, [ecx + 0D0h]
aesenclast xmm0, [ecx + 0E0h]
ret
-@aes_AES256_encrypt_block_@20 endp
+@aes256_encrypt_block_@20 endp
-@aes_AES256_decrypt_block_@20 proc
+@aes256_decrypt_block_@20 proc
pxor xmm0, [ecx]
aesdec xmm0, [ecx + 10h]
aesdec xmm0, [ecx + 20h]
@@ -45,9 +45,9 @@
aesdec xmm0, [ecx + 0D0h]
aesdeclast xmm0, [ecx + 0E0h]
ret
-@aes_AES256_decrypt_block_@20 endp
+@aes256_decrypt_block_@20 endp
-@aes_AES256_expand_key_@36 proc
+@aes256_expand_key_@36 proc
; A "word" (in terms of the FIPS 187 standard) is a 32-bit block.
; Words are denoted by `w[N]`.
;
@@ -240,9 +240,9 @@ aes256_keygen_assist:
pxor xmm0, xmm1
ret
-@aes_AES256_expand_key_@36 endp
+@aes256_expand_key_@36 endp
-@aes_AES256_derive_decryption_keys_@8 proc
+@aes256_derive_decryption_keys_@8 proc
movdqa xmm5, [ecx]
movdqa xmm4, [ecx + 0E0h]
movdqa [edx], xmm4
@@ -282,6 +282,6 @@ aes256_keygen_assist:
movdqa [edx + 70h], xmm5
ret
-@aes_AES256_derive_decryption_keys_@8 endp
+@aes256_derive_decryption_keys_@8 endp
end