summaryrefslogtreecommitdiffstats
path: root/win-x86_64/crypto/modes/aesni-gcm-x86_64.asm
diff options
context:
space:
mode:
Diffstat (limited to 'win-x86_64/crypto/modes/aesni-gcm-x86_64.asm')
-rw-r--r--win-x86_64/crypto/modes/aesni-gcm-x86_64.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/win-x86_64/crypto/modes/aesni-gcm-x86_64.asm b/win-x86_64/crypto/modes/aesni-gcm-x86_64.asm
new file mode 100644
index 0000000..828be8d
--- /dev/null
+++ b/win-x86_64/crypto/modes/aesni-gcm-x86_64.asm
@@ -0,0 +1,19 @@
+OPTION DOTNAME
+.text$ SEGMENT ALIGN(256) 'CODE'
+
+PUBLIC aesni_gcm_encrypt
+
+aesni_gcm_encrypt PROC PUBLIC
+ xor eax,eax
+ DB 0F3h,0C3h ;repret
+aesni_gcm_encrypt ENDP
+
+PUBLIC aesni_gcm_decrypt
+
+aesni_gcm_decrypt PROC PUBLIC
+ xor eax,eax
+ DB 0F3h,0C3h ;repret
+aesni_gcm_decrypt ENDP
+
+.text$ ENDS
+END