Lines Matching refs:t

78 # W[t] + K[t] | W[t+1] + K[t+1]
91 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even
105 # W[t]+K[t] (stack frame)
127 # Compute Round %%t
136 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
140 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h
142 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
161 # Compute rounds t-2 and t-1
162 # Compute message schedule QWORDS t and t+1
164 # Two rounds are computed based on the values for K[t-2]+W[t-2] and
165 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
167 # The two new schedule QWORDS are stored at [W_t(t)] and [W_t(t+1)].
169 # [K_t(t)] and [K_t(t+1)] and stored at dqword [WK_2(t)]
172 # Eg. XMM4=W[t-2] really means XMM4={W[t-2]|W[t-1]}
177 vmovdqa W_t(idx), %xmm4 # XMM4 = W[t-2]
179 vmovdqu W_t(idx), %xmm5 # XMM5 = W[t-15]
181 vpsrlq $61, %xmm4, %xmm0 # XMM0 = W[t-2]>>61
183 vpsrlq $1, %xmm5, %xmm6 # XMM6 = W[t-15]>>1
186 vpsrlq $19, %xmm4, %xmm1 # XMM1 = W[t-2]>>19
189 vpxor %xmm1, %xmm0, %xmm0 # XMM0 = W[t-2]>>61 ^ W[t-2]>>19
193 vpsrlq $8, %xmm5, %xmm7 # XMM7 = W[t-15]>>8
195 vpsrlq $6, %xmm4, %xmm2 # XMM2 = W[t-2]>>6
199 vpxor %xmm7, %xmm6, %xmm6 # XMM6 = W[t-15]>>1 ^ W[t-15]>>8
202 vpsrlq $7, %xmm5, %xmm8 # XMM8 = W[t-15]>>7
205 vpsllq $(64-61), %xmm4, %xmm3 # XMM3 = W[t-2]<<3
208 vpxor %xmm3, %xmm2, %xmm2 # XMM2 = W[t-2]>>6 ^ W[t-2]<<3
211 vpsllq $(64-1), %xmm5, %xmm9 # XMM9 = W[t-15]<<63
213 vpxor %xmm9, %xmm8, %xmm8 # XMM8 = W[t-15]>>7 ^ W[t-15]<<63
218 vpxor %xmm8, %xmm6, %xmm6 # XMM6 = W[t-15]>>1 ^ W[t-15]>>8 ^
219 # W[t-15]>>7 ^ W[t-15]<<63
222 vpsllq $(64-19), %xmm4, %xmm4 # XMM4 = W[t-2]<<25
225 vpxor %xmm4, %xmm0, %xmm0 # XMM0 = W[t-2]>>61 ^ W[t-2]>>19 ^
226 # W[t-2]<<25
228 vpxor %xmm2, %xmm0, %xmm0 # XMM0 = s1(W[t-2])
232 vpaddq W_t(idx), %xmm0, %xmm0 # XMM0 = s1(W[t-2]) + W[t-16]
234 vmovdqu W_t(idx), %xmm1 # XMM1 = W[t-7]
239 vpsllq $(64-8), %xmm5, %xmm5 # XMM5 = W[t-15]<<56
242 vpxor %xmm5, %xmm6, %xmm6 # XMM6 = s0(W[t-15])
244 vpaddq %xmm6, %xmm0, %xmm0 # XMM0 = s1(W[t-2]) + W[t-16] + s0(W[t-15])
246 vpaddq %xmm1, %xmm0, %xmm0 # XMM0 = W[t] = s1(W[t-2]) + W[t-7] +
247 # s0(W[t-15]) + W[t-16]
253 vmovdqa %xmm0, W_t(idx) # Store W[t]
254 vpaddq K_t(idx), %xmm0, %xmm0 # Compute W[t]+K[t]
255 vmovdqa %xmm0, WK_2(idx) # Store W[t]+K[t] for next rounds
309 t = 0 define
313 .if t < 2
316 vmovdqu MSG(t), %xmm0
318 vmovdqa %xmm0, W_t(t) # Store Scheduled Pair
319 vpaddq K_t(t), %xmm0, %xmm0 # Compute W[t]+K[t]
320 vmovdqa %xmm0, WK_2(t) # Store into WK for rounds
321 .elseif t < 16
323 vmovdqu MSG(t), %xmm0
325 SHA512_Round t-2 # Round t-2
326 vmovdqa %xmm0, W_t(t) # Store Scheduled Pair
327 vpaddq K_t(t), %xmm0, %xmm0 # Compute W[t]+K[t]
328 SHA512_Round t-1 # Round t-1
329 vmovdqa %xmm0, WK_2(t)# Store W[t]+K[t] into WK
330 .elseif t < 79
332 SHA512_2Sched_2Round_avx t
335 SHA512_Round t-2
336 SHA512_Round t-1
338 t = t+2 define
381 # K[t] used in SHA512 hashing