Lines Matching refs:t
78 # W[t] + K[t] | W[t+1] + K[t+1]
87 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even
101 # W[t]+K[t] (stack frame)
123 # Compute Round %%t
132 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
136 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h
138 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
157 # Compute rounds t-2 and t-1
158 # Compute message schedule QWORDS t and t+1
160 # Two rounds are computed based on the values for K[t-2]+W[t-2] and
161 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
163 # The two new schedule QWORDS are stored at [W_t(t)] and [W_t(t+1)].
165 # [K_t(t)] and [K_t(t+1)] and stored at dqword [WK_2(t)]
168 # Eg. XMM4=W[t-2] really means XMM4={W[t-2]|W[t-1]}
173 vmovdqa W_t(idx), %xmm4 # XMM4 = W[t-2]
175 vmovdqu W_t(idx), %xmm5 # XMM5 = W[t-15]
177 vpsrlq $61, %xmm4, %xmm0 # XMM0 = W[t-2]>>61
179 vpsrlq $1, %xmm5, %xmm6 # XMM6 = W[t-15]>>1
182 vpsrlq $19, %xmm4, %xmm1 # XMM1 = W[t-2]>>19
185 vpxor %xmm1, %xmm0, %xmm0 # XMM0 = W[t-2]>>61 ^ W[t-2]>>19
189 vpsrlq $8, %xmm5, %xmm7 # XMM7 = W[t-15]>>8
191 vpsrlq $6, %xmm4, %xmm2 # XMM2 = W[t-2]>>6
195 vpxor %xmm7, %xmm6, %xmm6 # XMM6 = W[t-15]>>1 ^ W[t-15]>>8
198 vpsrlq $7, %xmm5, %xmm8 # XMM8 = W[t-15]>>7
201 vpsllq $(64-61), %xmm4, %xmm3 # XMM3 = W[t-2]<<3
204 vpxor %xmm3, %xmm2, %xmm2 # XMM2 = W[t-2]>>6 ^ W[t-2]<<3
207 vpsllq $(64-1), %xmm5, %xmm9 # XMM9 = W[t-15]<<63
209 vpxor %xmm9, %xmm8, %xmm8 # XMM8 = W[t-15]>>7 ^ W[t-15]<<63
214 vpxor %xmm8, %xmm6, %xmm6 # XMM6 = W[t-15]>>1 ^ W[t-15]>>8 ^
215 # W[t-15]>>7 ^ W[t-15]<<63
218 vpsllq $(64-19), %xmm4, %xmm4 # XMM4 = W[t-2]<<25
221 vpxor %xmm4, %xmm0, %xmm0 # XMM0 = W[t-2]>>61 ^ W[t-2]>>19 ^
222 # W[t-2]<<25
224 vpxor %xmm2, %xmm0, %xmm0 # XMM0 = s1(W[t-2])
228 vpaddq W_t(idx), %xmm0, %xmm0 # XMM0 = s1(W[t-2]) + W[t-16]
230 vmovdqu W_t(idx), %xmm1 # XMM1 = W[t-7]
235 vpsllq $(64-8), %xmm5, %xmm5 # XMM5 = W[t-15]<<56
238 vpxor %xmm5, %xmm6, %xmm6 # XMM6 = s0(W[t-15])
240 vpaddq %xmm6, %xmm0, %xmm0 # XMM0 = s1(W[t-2]) + W[t-16] + s0(W[t-15])
242 vpaddq %xmm1, %xmm0, %xmm0 # XMM0 = W[t] = s1(W[t-2]) + W[t-7] +
243 # s0(W[t-15]) + W[t-16]
249 vmovdqa %xmm0, W_t(idx) # Store W[t]
250 vpaddq K_t(idx), %xmm0, %xmm0 # Compute W[t]+K[t]
251 vmovdqa %xmm0, WK_2(idx) # Store W[t]+K[t] for next rounds
306 t = 0 define
310 .if t < 2
313 vmovdqu MSG(t), %xmm0
315 vmovdqa %xmm0, W_t(t) # Store Scheduled Pair
316 vpaddq K_t(t), %xmm0, %xmm0 # Compute W[t]+K[t]
317 vmovdqa %xmm0, WK_2(t) # Store into WK for rounds
318 .elseif t < 16
320 vmovdqu MSG(t), %xmm0
322 SHA512_Round t-2 # Round t-2
323 vmovdqa %xmm0, W_t(t) # Store Scheduled Pair
324 vpaddq K_t(t), %xmm0, %xmm0 # Compute W[t]+K[t]
325 SHA512_Round t-1 # Round t-1
326 vmovdqa %xmm0, WK_2(t)# Store W[t]+K[t] into WK
327 .elseif t < 79
329 SHA512_2Sched_2Round_avx t
332 SHA512_Round t-2
333 SHA512_Round t-1
335 t = t+2 define
382 # K[t] used in SHA512 hashing