/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() 41 eq = constant_time_select_w(eq, constant_time_eq_w(a[i], b[i]), eq); in LIMBS_equal() 54 return constant_time_select_w(lo_equal, hi_zero, 0); in LIMBS_equal_limb() 89 return constant_time_select_w(lo, hi, lo); in LIMBS_less_than_limb() 102 limb_sub(&r[0], r[0], constant_time_select_w(lt, 0, m[0])); in LIMBS_reduce_once() 108 limb_sbb(&r[i], r[i], constant_time_select_w(lt, 0, m[i]), borrow); in LIMBS_reduce_once()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | gfp_p384.c | 77 r[i] = constant_time_select_w(condition, a[i], r[i]); in copy_conditional() 203 r[i] = constant_time_select_w(is_zero, 0, r[i]); in GFp_p384_elem_neg() 230 x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); in gfp_p384_point_select_w5() 231 y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); in gfp_p384_point_select_w5() 232 z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); in gfp_p384_point_select_w5()
|
D | gfp_p256.c | 87 x[j] = constant_time_select_w(equal, table[i].X[j], x[j]); in GFp_nistz256_select_w5() 88 y[j] = constant_time_select_w(equal, table[i].Y[j], y[j]); in GFp_nistz256_select_w5() 89 z[j] = constant_time_select_w(equal, table[i].Z[j], z[j]); in GFp_nistz256_select_w5()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | shift.c | 318 l = constant_time_select_w(mask, l >> 32, l); in bn_count_low_zero_bits_word() 324 l = constant_time_select_w(mask, l >> 16, l); in bn_count_low_zero_bits_word() 328 l = constant_time_select_w(mask, l >> 8, l); in bn_count_low_zero_bits_word() 332 l = constant_time_select_w(mask, l >> 4, l); in bn_count_low_zero_bits_word() 336 l = constant_time_select_w(mask, l >> 2, l); in bn_count_low_zero_bits_word()
|
D | random.c | 326 r->d[0] |= constant_time_select_w(in_range, 0, min_inclusive); in bn_rand_secret_range() 327 r->d[words - 1] &= constant_time_select_w(in_range, BN_MASK2, mask >> 1); in bn_rand_secret_range()
|
D | bn.c | 428 r[i] = constant_time_select_w(mask, a[i], b[i]); in bn_select_words()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | shift.c | 318 l = constant_time_select_w(mask, l >> 32, l); in bn_count_low_zero_bits_word() 324 l = constant_time_select_w(mask, l >> 16, l); in bn_count_low_zero_bits_word() 328 l = constant_time_select_w(mask, l >> 8, l); in bn_count_low_zero_bits_word() 332 l = constant_time_select_w(mask, l >> 4, l); in bn_count_low_zero_bits_word() 336 l = constant_time_select_w(mask, l >> 2, l); in bn_count_low_zero_bits_word()
|
D | random.c | 326 r->d[0] |= constant_time_select_w(in_range, 0, min_inclusive); in bn_rand_secret_range() 327 r->d[words - 1] &= constant_time_select_w(in_range, BN_MASK2, mask >> 1); in bn_rand_secret_range()
|
D | bn.c | 421 r[i] = constant_time_select_w(mask, a[i], b[i]); in bn_select_words()
|
D | mul.c | 286 c = constant_time_select_w(neg, c_neg, c_pos); in bn_mul_recursive() 400 c = constant_time_select_w(neg, c_neg, c_pos); in bn_mul_part_recursive()
|
/external/rust/crates/ring/crypto/ |
D | constant_time_test.c | 80 crypto_word selected = constant_time_select_w(CONSTTIME_TRUE_W, a, b); in test_select_w() 84 selected = constant_time_select_w(CONSTTIME_FALSE_W, a, b); in test_select_w()
|
D | internal.h | 234 static inline crypto_word constant_time_select_w(crypto_word mask, in constant_time_select_w() function
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ |
D | constant_time_test.cc | 113 EXPECT_EQ(a, constant_time_select_w(CONSTTIME_TRUE_W, a, b)); in TEST() 114 EXPECT_EQ(b, constant_time_select_w(CONSTTIME_FALSE_W, a, b)); in TEST()
|
D | internal.h | 399 static inline crypto_word_t constant_time_select_w(crypto_word_t mask, in OPENSSL_MSVC_PRAGMA() 415 return (uint8_t)(constant_time_select_w(mask, a, b)); in OPENSSL_MSVC_PRAGMA() 421 return (int)(constant_time_select_w(mask, (crypto_word_t)(a), in OPENSSL_MSVC_PRAGMA()
|
/external/boringssl/src/crypto/ |
D | constant_time_test.cc | 113 EXPECT_EQ(a, constant_time_select_w(CONSTTIME_TRUE_W, a, b)); in TEST() 114 EXPECT_EQ(b, constant_time_select_w(CONSTTIME_FALSE_W, a, b)); in TEST()
|
D | internal.h | 399 static inline crypto_word_t constant_time_select_w(crypto_word_t mask, in OPENSSL_MSVC_PRAGMA() 415 return (uint8_t)(constant_time_select_w(mask, a, b)); in OPENSSL_MSVC_PRAGMA() 421 return (int)(constant_time_select_w(mask, (crypto_word_t)(a), in OPENSSL_MSVC_PRAGMA()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 214 constant_time_select_w(looking_for_index & equals0, i, zero_index); in RSA_padding_check_PKCS1_type_2() 215 looking_for_index = constant_time_select_w(equals0, 0, looking_for_index); in RSA_padding_check_PKCS1_type_2() 451 constant_time_select_w(looking_for_one_byte & equals1, i, one_index); in RSA_padding_check_PKCS1_OAEP_mgf1() 453 constant_time_select_w(equals1, 0, looking_for_one_byte); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 214 constant_time_select_w(looking_for_index & equals0, i, zero_index); in RSA_padding_check_PKCS1_type_2() 215 looking_for_index = constant_time_select_w(equals0, 0, looking_for_index); in RSA_padding_check_PKCS1_type_2() 451 constant_time_select_w(looking_for_one_byte & equals1, i, one_index); in RSA_padding_check_PKCS1_OAEP_mgf1() 453 constant_time_select_w(equals1, 0, looking_for_one_byte); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/rust/crates/ring/crypto/fipsmodule/bn/ |
D | montgomery.c | 154 r[i] = constant_time_select_w(v, a[i], r[i]); in GFp_bn_from_montgomery_in_place()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 41 lo ^= ((uint64_t) constant_time_select_w(carry, 0xe1, 0)) << 56; in reverse_and_mulX_ghash()
|
/external/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 41 lo ^= ((uint64_t) constant_time_select_w(carry, 0xe1, 0)) << 56; in reverse_and_mulX_ghash()
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 234 *out_len = constant_time_select_w(ok, claimed_len, 0); in AES_unwrap_key_padded()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 234 *out_len = constant_time_select_w(ok, claimed_len, 0); in AES_unwrap_key_padded()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 333 constant_time_select_w(mask, src->words[i], dest->words[i]); in scalar_cmov()
|
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 333 constant_time_select_w(mask, src->words[i], dest->words[i]); in scalar_cmov()
|