Commit 4f083009 authored by Josh Poimboeuf's avatar Josh Poimboeuf
parent 99033461
...@@ -212,10 +212,6 @@ HashKey_8_k = 16*21 # store XOR of HashKey^8 <<1 mod poly here (for Karatsu ...@@ -212,10 +212,6 @@ HashKey_8_k = 16*21 # store XOR of HashKey^8 <<1 mod poly here (for Karatsu
#define arg4 %rcx #define arg4 %rcx
#define arg5 %r8 #define arg5 %r8
#define arg6 %r9 #define arg6 %r9
#define arg7 STACK_OFFSET+8*1(%r14)
#define arg8 STACK_OFFSET+8*2(%r14)
#define arg9 STACK_OFFSET+8*3(%r14)
#define arg10 STACK_OFFSET+8*4(%r14)
#define keysize 2*15*16(arg1) #define keysize 2*15*16(arg1)
i = 0 i = 0
...@@ -237,9 +233,6 @@ define_reg j %j ...@@ -237,9 +233,6 @@ define_reg j %j
.noaltmacro .noaltmacro
.endm .endm
# need to push 4 registers into stack to maintain
STACK_OFFSET = 8*4
TMP1 = 16*0 # Temporary storage for AAD TMP1 = 16*0 # Temporary storage for AAD
TMP2 = 16*1 # Temporary storage for AES State 2 (State 1 is stored in an XMM register) TMP2 = 16*1 # Temporary storage for AES State 2 (State 1 is stored in an XMM register)
TMP3 = 16*2 # Temporary storage for AES State 3 TMP3 = 16*2 # Temporary storage for AES State 3
...@@ -256,7 +249,6 @@ VARIABLE_OFFSET = 16*8 ...@@ -256,7 +249,6 @@ VARIABLE_OFFSET = 16*8
################################ ################################
.macro FUNC_SAVE .macro FUNC_SAVE
#the number of pushes must equal STACK_OFFSET
push %r12 push %r12
push %r13 push %r13
push %r14 push %r14
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment