Home
last modified time | relevance | path

Searched refs:sigma0 (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/tcg/multiarch/
H A Dsha512.c252 static uint64_t sigma0(uint64_t x) in sigma0() function
293 Round(a, b, c, &d, e, f, g, &h, 0xe49b69c19ef14ad2ull, w0 += sigma1(w14) + w9 + sigma0(w1)); in Transform()
294 Round(h, a, b, &c, d, e, f, &g, 0xefbe4786384f25e3ull, w1 += sigma1(w15) + w10 + sigma0(w2)); in Transform()
295 Round(g, h, a, &b, c, d, e, &f, 0x0fc19dc68b8cd5b5ull, w2 += sigma1(w0) + w11 + sigma0(w3)); in Transform()
296 Round(f, g, h, &a, b, c, d, &e, 0x240ca1cc77ac9c65ull, w3 += sigma1(w1) + w12 + sigma0(w4)); in Transform()
297 Round(e, f, g, &h, a, b, c, &d, 0x2de92c6f592b0275ull, w4 += sigma1(w2) + w13 + sigma0(w5)); in Transform()
298 Round(d, e, f, &g, h, a, b, &c, 0x4a7484aa6ea6e483ull, w5 += sigma1(w3) + w14 + sigma0(w6)); in Transform()
299 Round(c, d, e, &f, g, h, a, &b, 0x5cb0a9dcbd41fbd4ull, w6 += sigma1(w4) + w15 + sigma0(w7)); in Transform()
300 Round(b, c, d, &e, f, g, h, &a, 0x76f988da831153b5ull, w7 += sigma1(w5) + w0 + sigma0(w8)); in Transform()
301 Round(a, b, c, &d, e, f, g, &h, 0x983e5152ee66dfabull, w8 += sigma1(w6) + w1 + sigma0(w9)); in Transform()
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsha512-armv8.pl83 @sigma0=(1, 8, 7);
92 @sigma0=( 7,18, 3);
164 ror $T1,@X[($j+1)&15],#$sigma0[0]
171 eor $T1,$T1,@X[($j+1)&15],ror#$sigma0[1]
179 eor $T1,$T1,@X[($j+1)&15],lsr#$sigma0[2] // sigma0(X[i+1])
493 &ushr_32 ($T2,$T0,$sigma0[0]);
495 &ushr_32 ($T1,$T0,$sigma0[2]);
499 &sli_32 ($T2,$T0,32-$sigma0[0]);
502 &ushr_32 ($T3,$T0,$sigma0[1]);
508 &sli_32 ($T3,$T0,32-$sigma0[1]);
/openbmc/linux/arch/arm/crypto/
H A Dsha256-armv4.pl68 @sigma0=( 7,18, 3);
145 mov $t0,$t1,ror#$sigma0[0]
148 eor $t0,$t0,$t1,ror#$sigma0[1]
150 eor $t0,$t0,$t1,lsr#$sigma0[2] @ sigma0(X[i+1])
320 &vshr_u32 ($T2,$T0,$sigma0[0]);
326 &vshr_u32 ($T1,$T0,$sigma0[2]);
329 &vsli_32 ($T2,$T0,32-$sigma0[0]);
332 &vshr_u32 ($T3,$T0,$sigma0[1]);
338 &vsli_32 ($T3,$T0,32-$sigma0[1]);
H A Dsha512-armv4.pl495 my @sigma0=(1, 8, 7);
572 vshr.u64 $t0,$s0,#@sigma0[0]
574 vshr.u64 $t1,$s0,#@sigma0[1]
576 vshr.u64 $s1,$s0,#@sigma0[2]
577 vsli.64 $t0,$s0,#`64-@sigma0[0]`
578 vsli.64 $t1,$s0,#`64-@sigma0[1]`
/openbmc/u-boot/fs/zfs/
H A Dzfs_sha256.c54 #define sigma0(x) (Rot32(x, 7) ^ Rot32(x, 18) ^ ((x) >> 3)) macro
86 sigma0(W[t - 15]) + W[t - 16]; in SHA256Transform()
/openbmc/qemu/target/s390x/tcg/
H A Dcrypto_helper.c43 static uint64_t sigma0(uint64_t x) in sigma0() function
100 w[j] += w[(j + 9) % 16] + sigma0(w[(j + 1) % 16]) + in sha512_bda()
/openbmc/linux/arch/x86/crypto/
H A Dsha512-avx2-asm.S173 # Calculate sigma0
230 # Add three components, w[t-16], w[t-7] and sigma0
352 # Add the sigma0 + w[t-7] + w[t-16] for w[18] and w[19]