/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | shift.c | 314 mask = constant_time_is_zero_w(l << (BN_BITS2 - 32)); in bn_count_low_zero_bits_word() 322 mask = constant_time_is_zero_w(l << (BN_BITS2 - 16)); in bn_count_low_zero_bits_word() 326 mask = constant_time_is_zero_w(l << (BN_BITS2 - 8)); in bn_count_low_zero_bits_word() 330 mask = constant_time_is_zero_w(l << (BN_BITS2 - 4)); in bn_count_low_zero_bits_word() 334 mask = constant_time_is_zero_w(l << (BN_BITS2 - 2)); in bn_count_low_zero_bits_word() 338 mask = constant_time_is_zero_w(l << (BN_BITS2 - 1)); in bn_count_low_zero_bits_word() 353 crypto_word_t nonzero = ~constant_time_is_zero_w(bn->d[i]); in BN_count_low_zero_bits()
|
D | cmp.c | 86 ret = constant_time_select_int(constant_time_is_zero_w(mask), ret, -1); in bn_cmp_words_consttime() 92 ret = constant_time_select_int(constant_time_is_zero_w(mask), ret, 1); in bn_cmp_words_consttime()
|
D | random.c | 205 mask = constant_time_is_zero_w(mask); in bn_less_than_word_mask()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | shift.c | 314 mask = constant_time_is_zero_w(l << (BN_BITS2 - 32)); in bn_count_low_zero_bits_word() 322 mask = constant_time_is_zero_w(l << (BN_BITS2 - 16)); in bn_count_low_zero_bits_word() 326 mask = constant_time_is_zero_w(l << (BN_BITS2 - 8)); in bn_count_low_zero_bits_word() 330 mask = constant_time_is_zero_w(l << (BN_BITS2 - 4)); in bn_count_low_zero_bits_word() 334 mask = constant_time_is_zero_w(l << (BN_BITS2 - 2)); in bn_count_low_zero_bits_word() 338 mask = constant_time_is_zero_w(l << (BN_BITS2 - 1)); in bn_count_low_zero_bits_word() 353 crypto_word_t nonzero = ~constant_time_is_zero_w(bn->d[i]); in BN_count_low_zero_bits()
|
D | cmp.c | 86 ret = constant_time_select_int(constant_time_is_zero_w(mask), ret, -1); in bn_cmp_words_consttime() 92 ret = constant_time_select_int(constant_time_is_zero_w(mask), ret, 1); in bn_cmp_words_consttime()
|
D | random.c | 205 mask = constant_time_is_zero_w(mask); in bn_less_than_word_mask()
|
/external/rust/crates/ring/crypto/ |
D | internal.h | 206 static inline crypto_word constant_time_is_zero_w(crypto_word a) { in constant_time_is_zero_w() function 222 return ~constant_time_is_zero_w(a); in constant_time_is_nonzero_w() 228 return constant_time_is_zero_w(a ^ b); in constant_time_eq_w()
|
D | constant_time_test.c | 62 crypto_word c = constant_time_is_zero_w(a); in test_is_zero_w()
|
/external/rust/crates/ring/crypto/limbs/ |
D | limbs.c | 31 is_zero = constant_time_select_w(is_zero, constant_time_is_zero_w(a[i]), in LIMBS_are_zero() 49 return constant_time_is_zero_w(b); in LIMBS_equal_limb() 66 return constant_time_is_zero_w(lo & 1); in LIMBS_are_even()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 226 ok &= ~constant_time_is_zero_w(claimed_len); in AES_unwrap_key_padded() 231 ok &= constant_time_is_zero_w(constant_time_ge_8(i, claimed_len) & out[i]); in AES_unwrap_key_padded()
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 226 ok &= ~constant_time_is_zero_w(claimed_len); in AES_unwrap_key_padded() 231 ok &= constant_time_is_zero_w(constant_time_ge_8(i, claimed_len) & out[i]); in AES_unwrap_key_padded()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ |
D | internal.h | 351 static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { in OPENSSL_MSVC_PRAGMA() 369 return (uint8_t)(constant_time_is_zero_w(a)); in OPENSSL_MSVC_PRAGMA() 375 return constant_time_is_zero_w(a ^ b); in OPENSSL_MSVC_PRAGMA()
|
D | constant_time_test.cc | 98 EXPECT_EQ(FromBoolW(a == 0), constant_time_is_zero_w(a)); in TEST()
|
/external/boringssl/src/crypto/ |
D | internal.h | 351 static inline crypto_word_t constant_time_is_zero_w(crypto_word_t a) { in OPENSSL_MSVC_PRAGMA() 369 return (uint8_t)(constant_time_is_zero_w(a)); in OPENSSL_MSVC_PRAGMA() 375 return constant_time_is_zero_w(a ^ b); in OPENSSL_MSVC_PRAGMA()
|
D | constant_time_test.cc | 98 EXPECT_EQ(FromBoolW(a == 0), constant_time_is_zero_w(a)); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 212 crypto_word_t equals0 = constant_time_is_zero_w(from[i]); in RSA_padding_check_PKCS1_type_2() 442 crypto_word_t bad = ~constant_time_is_zero_w(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1() 443 bad |= ~constant_time_is_zero_w(from[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 212 crypto_word_t equals0 = constant_time_is_zero_w(from[i]); in RSA_padding_check_PKCS1_type_2() 442 crypto_word_t bad = ~constant_time_is_zero_w(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1() 443 bad |= ~constant_time_is_zero_w(from[0]); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | felem.c | 88 return ~constant_time_is_zero_w(mask); in ec_felem_non_zero_mask()
|
D | p256.c | 321 fiat_p256_limb_t is_nontrivial_double = constant_time_is_zero_w(xneq | yneq) & in fiat_p256_point_add() 322 ~constant_time_is_zero_w(z1nz) & in fiat_p256_point_add() 323 ~constant_time_is_zero_w(z2nz); in fiat_p256_point_add()
|
D | simple_mul.c | 233 BN_ULONG is_infinity = constant_time_is_zero_w(window); in ec_GFp_mont_get_comb_window()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | felem.c | 88 return ~constant_time_is_zero_w(mask); in ec_felem_non_zero_mask()
|
D | p256.c | 321 fiat_p256_limb_t is_nontrivial_double = constant_time_is_zero_w(xneq | yneq) & in fiat_p256_point_add() 322 ~constant_time_is_zero_w(z1nz) & in fiat_p256_point_add() 323 ~constant_time_is_zero_w(z2nz); in fiat_p256_point_add()
|
D | simple_mul.c | 233 BN_ULONG is_infinity = constant_time_is_zero_w(window); in ec_GFp_mont_get_comb_window()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | ecp_nistz256.c | 309 return constant_time_is_zero_w(acc); in is_infinity()
|
/external/boringssl/src/crypto/hrss/ |
D | hrss.c | 812 const crypto_word_t delta_is_non_zero = ~constant_time_is_zero_w(delta); in poly3_invert_vec() 873 const crypto_word_t delta_is_non_zero = ~constant_time_is_zero_w(delta); in HRSS_poly3_invert() 1526 const crypto_word_t delta_is_non_zero = ~constant_time_is_zero_w(delta); in poly_invert_mod2() 2068 ok &= constant_time_is_zero_w(CRYPTO_memcmp(ciphertext, expected_ciphertext, in HRSS_decap()
|