Home
last modified time | relevance | path

Searched refs:Maj (Results 1 – 25 of 49) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DSHA256Digest.java208 h += Sum0(a) + Maj(a, b, c); in processBlock()
214 g += Sum0(h) + Maj(h, a, b); in processBlock()
220 f += Sum0(g) + Maj(g, h, a); in processBlock()
226 e += Sum0(f) + Maj(f, g, h); in processBlock()
232 d += Sum0(e) + Maj(e, f, g); in processBlock()
238 c += Sum0(d) + Maj(d, e, f); in processBlock()
244 b += Sum0(c) + Maj(c, d, e); in processBlock()
250 a += Sum0(b) + Maj(b, c, d); in processBlock()
280 private static int Maj(int x, int y, int z) in Maj() method in SHA256Digest
DSHA224Digest.java205 h += Sum0(a) + Maj(a, b, c); in processBlock()
211 g += Sum0(h) + Maj(h, a, b); in processBlock()
217 f += Sum0(g) + Maj(g, h, a); in processBlock()
223 e += Sum0(f) + Maj(f, g, h); in processBlock()
229 d += Sum0(e) + Maj(e, f, g); in processBlock()
235 c += Sum0(d) + Maj(d, e, f); in processBlock()
241 b += Sum0(c) + Maj(c, d, e); in processBlock()
247 a += Sum0(b) + Maj(b, c, d); in processBlock()
279 private int Maj( in Maj() method in SHA224Digest
DLongDigest.java284 h += Sum0(a) + Maj(a, b, c); in processBlock()
289 g += Sum0(h) + Maj(h, a, b); in processBlock()
294 f += Sum0(g) + Maj(g, h, a); in processBlock()
299 e += Sum0(f) + Maj(f, g, h); in processBlock()
304 d += Sum0(e) + Maj(e, f, g); in processBlock()
309 c += Sum0(d) + Maj(d, e, f); in processBlock()
314 b += Sum0(c) + Maj(c, d, e); in processBlock()
319 a += Sum0(b) + Maj(b, c, d); in processBlock()
350 private long Maj( in Maj() method in LongDigest
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/
DSHA256Digest.java210 h += Sum0(a) + Maj(a, b, c); in processBlock()
216 g += Sum0(h) + Maj(h, a, b); in processBlock()
222 f += Sum0(g) + Maj(g, h, a); in processBlock()
228 e += Sum0(f) + Maj(f, g, h); in processBlock()
234 d += Sum0(e) + Maj(e, f, g); in processBlock()
240 c += Sum0(d) + Maj(d, e, f); in processBlock()
246 b += Sum0(c) + Maj(c, d, e); in processBlock()
252 a += Sum0(b) + Maj(b, c, d); in processBlock()
282 private static int Maj(int x, int y, int z) in Maj() method in SHA256Digest
DSHA224Digest.java207 h += Sum0(a) + Maj(a, b, c); in processBlock()
213 g += Sum0(h) + Maj(h, a, b); in processBlock()
219 f += Sum0(g) + Maj(g, h, a); in processBlock()
225 e += Sum0(f) + Maj(f, g, h); in processBlock()
231 d += Sum0(e) + Maj(e, f, g); in processBlock()
237 c += Sum0(d) + Maj(d, e, f); in processBlock()
243 b += Sum0(c) + Maj(c, d, e); in processBlock()
249 a += Sum0(b) + Maj(b, c, d); in processBlock()
281 private int Maj( in Maj() method in SHA224Digest
DLongDigest.java286 h += Sum0(a) + Maj(a, b, c); in processBlock()
291 g += Sum0(h) + Maj(h, a, b); in processBlock()
296 f += Sum0(g) + Maj(g, h, a); in processBlock()
301 e += Sum0(f) + Maj(f, g, h); in processBlock()
306 d += Sum0(e) + Maj(e, f, g); in processBlock()
311 c += Sum0(d) + Maj(d, e, f); in processBlock()
316 b += Sum0(c) + Maj(c, d, e); in processBlock()
321 a += Sum0(b) + Maj(b, c, d); in processBlock()
352 private long Maj( in Maj() method in LongDigest
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/digests/
DSHA224Digest.java207 h += Sum0(a) + Maj(a, b, c); in processBlock()
213 g += Sum0(h) + Maj(h, a, b); in processBlock()
219 f += Sum0(g) + Maj(g, h, a); in processBlock()
225 e += Sum0(f) + Maj(f, g, h); in processBlock()
231 d += Sum0(e) + Maj(e, f, g); in processBlock()
237 c += Sum0(d) + Maj(d, e, f); in processBlock()
243 b += Sum0(c) + Maj(c, d, e); in processBlock()
249 a += Sum0(b) + Maj(b, c, d); in processBlock()
281 private int Maj( in Maj() method in SHA224Digest
DSHA256Digest.java210 h += Sum0(a) + Maj(a, b, c); in processBlock()
216 g += Sum0(h) + Maj(h, a, b); in processBlock()
222 f += Sum0(g) + Maj(g, h, a); in processBlock()
228 e += Sum0(f) + Maj(f, g, h); in processBlock()
234 d += Sum0(e) + Maj(e, f, g); in processBlock()
240 c += Sum0(d) + Maj(d, e, f); in processBlock()
246 b += Sum0(c) + Maj(c, d, e); in processBlock()
252 a += Sum0(b) + Maj(b, c, d); in processBlock()
282 private static int Maj(int x, int y, int z) in Maj() method in SHA256Digest
DLongDigest.java286 h += Sum0(a) + Maj(a, b, c); in processBlock()
291 g += Sum0(h) + Maj(h, a, b); in processBlock()
296 f += Sum0(g) + Maj(g, h, a); in processBlock()
301 e += Sum0(f) + Maj(f, g, h); in processBlock()
306 d += Sum0(e) + Maj(e, f, g); in processBlock()
311 c += Sum0(d) + Maj(d, e, f); in processBlock()
316 b += Sum0(c) + Maj(c, d, e); in processBlock()
321 a += Sum0(b) + Maj(b, c, d); in processBlock()
352 private long Maj( in Maj() method in LongDigest
/external/rust/crates/ring/crypto/fipsmodule/sha/asm/
Dsha512-armv4.pl527 my ($t0,$t1,$t2,$T1,$K,$Ch,$Maj)=map("d$_",(24..31)); # temps
536 vadd.i64 $a,$Maj @ h+=Maj from the past
560 veor $Maj,$a,$b
564 vbsl $Maj,$c,$b @ Maj(a,b,c)
567 vadd.i64 $Maj,$T1
568 @ vadd.i64 $h,$Maj
/external/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha512-armv4.pl525 my ($t0,$t1,$t2,$T1,$K,$Ch,$Maj)=map("d$_",(24..31)); # temps
534 vadd.i64 $a,$Maj @ h+=Maj from the past
558 veor $Maj,$a,$b
562 vbsl $Maj,$c,$b @ Maj(a,b,c)
565 vadd.i64 $Maj,$T1
566 @ vadd.i64 $h,$Maj
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha512-armv4.pl525 my ($t0,$t1,$t2,$T1,$K,$Ch,$Maj)=map("d$_",(24..31)); # temps
534 vadd.i64 $a,$Maj @ h+=Maj from the past
558 veor $Maj,$a,$b
562 vbsl $Maj,$c,$b @ Maj(a,b,c)
565 vadd.i64 $Maj,$T1
566 @ vadd.i64 $h,$Maj
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c201 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
354 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
364 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
377 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
466 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
489 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
681 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \
691 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
704 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
788 T2 = Sigma0_512(a) + Maj(a, b, c); in SHA512_Transform()
[all …]
/external/lzma/C/
DSha256.c43 #define Maj(x,y,z) ((x&y)|(z&(x|y))) macro
50 h += S0(a) + Maj(a, b, c)
78 h(i) += S0(a(i)) + Maj(a(i), b(i), c(i)) \
/external/llvm/include/llvm/ADT/
DTriple.h305 unsigned Maj, Min, Micro; in getOSMajorVersion() local
306 getOSVersion(Maj, Min, Micro); in getOSMajorVersion()
307 return Maj; in getOSMajorVersion()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c362 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
392 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
405 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
426 h = Sigma0(a) + Maj(a, b, c); \
533 #undef Maj
Dsha256.c198 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
203 h = Sigma0(a) + Maj(a, b, c); \
318 #undef Maj
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c338 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
368 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
381 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
402 h = Sigma0(a) + Maj(a, b, c); \
508 #undef Maj
Dsha256.c204 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
209 h = Sigma0(a) + Maj(a, b, c); \
323 #undef Maj
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c338 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
368 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
381 A = T + Sigma0(A) + Maj(A, F[1], F[2]); in sha512_block_data_order()
402 h = Sigma0(a) + Maj(a, b, c); \
508 #undef Maj
Dsha256.c204 #define Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) macro
209 h = Sigma0(a) + Maj(a, b, c); \
323 #undef Maj
/external/wpa_supplicant_8/src/crypto/
Dsha256-internal.c72 #define Maj(x,y,z) (((x | y) & z) | (x & y)) macro
108 t1 = Sigma0(a) + Maj(a, b, c); \ in sha256_compress()
Dsha512-internal.c93 #define Maj(x,y,z) (((x | y) & z) | (x & y)) macro
138 t1 = Sigma0(S[0]) + Maj(S[0], S[1], S[2]); in sha512_compress()
/external/iw/
Dsha256.c52 #define Maj(x, y, z) (((x | y) & z) | (x & y)) macro
85 t1 = Sigma0(a) + Maj(a, b, c); \ in sha256_compress()
/external/selinux/libsemanage/src/
Dsha256.c71 #define Maj( x, y, z ) (((x | y) & z) | (x & y)) macro
81 t1 = Sigma0(a) + Maj(a, b, c); \

12