Lines Matching refs:t
88 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even
102 # W[t]+K[t] (stack frame)
120 # Compute Round %%t
129 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
133 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h
135 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
155 # Compute rounds t-2 and t-1
156 # Compute message schedule QWORDS t and t+1
158 # Two rounds are computed based on the values for K[t-2]+W[t-2] and
159 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
161 # The two new schedule QWORDS are stored at [W_t(%%t)] and [W_t(%%t+1)].
163 # [K_t(%%t)] and [K_t(%%t+1)] and stored at dqword [WK_2(%%t)]
166 # Eg. XMM2=W[t-2] really means XMM2={W[t-2]|W[t-1]}
175 movdqa W_t(idx), %xmm2 # XMM2 = W[t-2]
178 movdqa %xmm2, %xmm0 # XMM0 = W[t-2]
183 movdqu W_t(idx), %xmm5 # XMM5 = W[t-15]
186 movdqa %xmm5, %xmm3 # XMM3 = W[t-15]
189 psrlq $61-19, %xmm0 # XMM0 = W[t-2] >> 42
192 psrlq $(8-7), %xmm3 # XMM3 = W[t-15] >> 1
195 pxor %xmm2, %xmm0 # XMM0 = (W[t-2] >> 42) ^ W[t-2]
198 pxor %xmm5, %xmm3 # XMM3 = (W[t-15] >> 1) ^ W[t-15]
201 psrlq $(19-6), %xmm0 # XMM0 = ((W[t-2]>>42)^W[t-2])>>13
204 psrlq $(7-1), %xmm3 # XMM3 = ((W[t-15]>>1)^W[t-15])>>6
207 pxor %xmm2, %xmm0 # XMM0 = (((W[t-2]>>42)^W[t-2])>>13)^W[t-2]
210 pxor %xmm5, %xmm3 # XMM3 = (((W[t-15]>>1)^W[t-15])>>6)^W[t-15]
213 psrlq $6, %xmm0 # XMM0 = ((((W[t-2]>>42)^W[t-2])>>13)^W[t-2])>>6
216 psrlq $1, %xmm3 # XMM3 = (((W[t-15]>>1)^W[t-15])>>6)^W[t-15]>>1
219 movdqa %xmm2, %xmm1 # XMM1 = W[t-2]
222 movdqa %xmm5, %xmm4 # XMM4 = W[t-15]
225 psllq $(64-19)-(64-61) , %xmm1 # XMM1 = W[t-2] << 42
229 psllq $(64-1)-(64-8), %xmm4 # XMM4 = W[t-15] << 7
232 pxor %xmm2, %xmm1 # XMM1 = (W[t-2] << 42)^W[t-2]
235 pxor %xmm5, %xmm4 # XMM4 = (W[t-15]<<7)^W[t-15]
238 psllq $(64-61), %xmm1 # XMM1 = ((W[t-2] << 42)^W[t-2])<<3
241 psllq $(64-8), %xmm4 # XMM4 = ((W[t-15]<<7)^W[t-15])<<56
244 pxor %xmm1, %xmm0 # XMM0 = s1(W[t-2])
248 movdqu W_t(idx), %xmm1 # XMM1 = W[t-7]
250 pxor %xmm4, %xmm3 # XMM3 = s0(W[t-15])
252 paddq %xmm3, %xmm0 # XMM0 = s1(W[t-2]) + s0(W[t-15])
255 paddq W_t(idx), %xmm0 # XMM0 = s1(W[t-2]) + s0(W[t-15]) + W[t-16]
257 paddq %xmm1, %xmm0 # XMM0 = s1(W[t-2]) + W[t-7] + s0(W[t-15]) + W[t-16]
261 paddq K_t(\rnd), %xmm0 # Compute W[t]+K[t]
264 movdqa %xmm0, WK_2(idx) # Store W[t]+K[t] for next rounds
308 t = 0 define
312 .if t < 2
315 movdqu MSG(t), %xmm0
317 movdqa %xmm0, W_t(t) # Store Scheduled Pair
318 paddq K_t(t), %xmm0 # Compute W[t]+K[t]
319 movdqa %xmm0, WK_2(t) # Store into WK for rounds
320 .elseif t < 16
322 movdqu MSG(t), %xmm0
324 SHA512_Round t-2 # Round t-2
325 movdqa %xmm0, W_t(t) # Store Scheduled Pair
326 paddq K_t(t), %xmm0 # Compute W[t]+K[t]
327 SHA512_Round t-1 # Round t-1
328 movdqa %xmm0, WK_2(t) # Store W[t]+K[t] into WK
329 .elseif t < 79
331 SHA512_2Sched_2Round_sse t
334 SHA512_Round t-2
335 SHA512_Round t-1
337 t = t+2 define
380 # K[t] used in SHA512 hashing