/external/rust/crates/ring/crypto/ |
D | constant_time_test.c | 121 num_failed += test_binary_op_w(&constant_time_eq_w, a, b, a == b); in bssl_constant_time_test_main() 122 num_failed += test_binary_op_w(&constant_time_eq_w, b, a, b == a); in bssl_constant_time_test_main()
|
D | internal.h | 226 static inline crypto_word constant_time_eq_w(crypto_word a, in constant_time_eq_w() function
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 415 constant_time_eq_w(password_scalar.bytes[0] & 1, 1)); in SPAKE2_generate_msg() 421 constant_time_eq_w(password_scalar.bytes[0] & 2, 2)); in SPAKE2_generate_msg() 427 constant_time_eq_w(password_scalar.bytes[0] & 4, 4)); in SPAKE2_generate_msg()
|
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 415 constant_time_eq_w(password_scalar.bytes[0] & 1, 1)); in SPAKE2_generate_msg() 421 constant_time_eq_w(password_scalar.bytes[0] & 2, 2)); in SPAKE2_generate_msg() 427 constant_time_eq_w(password_scalar.bytes[0] & 4, 4)); in SPAKE2_generate_msg()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | simple_mul.c | 62 BN_ULONG mask = constant_time_eq_w(j, window); in ec_GFp_mont_mul() 117 BN_ULONG mask = constant_time_eq_w(j, digit); in ec_GFp_mont_batch_get_window() 229 BN_ULONG match = constant_time_eq_w(window, j + 1); in ec_GFp_mont_get_comb_window()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | simple_mul.c | 62 BN_ULONG mask = constant_time_eq_w(j, window); in ec_GFp_mont_mul() 117 BN_ULONG mask = constant_time_eq_w(j, digit); in ec_GFp_mont_batch_get_window() 229 BN_ULONG match = constant_time_eq_w(window, j + 1); in ec_GFp_mont_get_comb_window()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ |
D | internal.h | 373 static inline crypto_word_t constant_time_eq_w(crypto_word_t a, in OPENSSL_MSVC_PRAGMA() 381 return (uint8_t)(constant_time_eq_w(a, b)); in OPENSSL_MSVC_PRAGMA() 387 return constant_time_eq_w((crypto_word_t)(a), (crypto_word_t)(b)); in OPENSSL_MSVC_PRAGMA()
|
D | constant_time_test.cc | 110 EXPECT_EQ(FromBoolW(a == b), constant_time_eq_w(a, b)); in TEST()
|
/external/boringssl/src/crypto/ |
D | internal.h | 373 static inline crypto_word_t constant_time_eq_w(crypto_word_t a, in OPENSSL_MSVC_PRAGMA() 381 return (uint8_t)(constant_time_eq_w(a, b)); in OPENSSL_MSVC_PRAGMA() 387 return constant_time_eq_w((crypto_word_t)(a), (crypto_word_t)(b)); in OPENSSL_MSVC_PRAGMA()
|
D | constant_time_test.cc | 110 EXPECT_EQ(FromBoolW(a == b), constant_time_eq_w(a, b)); in TEST()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 207 crypto_word_t first_byte_is_zero = constant_time_eq_w(from[0], 0); in RSA_padding_check_PKCS1_type_2() 208 crypto_word_t second_byte_is_two = constant_time_eq_w(from[1], 2); in RSA_padding_check_PKCS1_type_2() 448 crypto_word_t equals1 = constant_time_eq_w(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1() 449 crypto_word_t equals0 = constant_time_eq_w(db[i], 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 207 crypto_word_t first_byte_is_zero = constant_time_eq_w(from[0], 0); in RSA_padding_check_PKCS1_type_2() 208 crypto_word_t second_byte_is_two = constant_time_eq_w(from[1], 2); in RSA_padding_check_PKCS1_type_2() 448 crypto_word_t equals1 = constant_time_eq_w(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1() 449 crypto_word_t equals0 = constant_time_eq_w(db[i], 0); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/external/rust/crates/ring/crypto/limbs/ |
D | limbs.c | 41 eq = constant_time_select_w(eq, constant_time_eq_w(a[i], b[i]), eq); in LIMBS_equal() 52 Limb lo_equal = constant_time_eq_w(a[0], b); in LIMBS_equal_limb()
|
D | limbs.inl | 151 Limb equal = constant_time_eq_w(index, e);
|
/external/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 37 const crypto_word_t carry = constant_time_eq_w(hi & 1, 1); in reverse_and_mulX_ghash()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/ |
D | polyval.c | 37 const crypto_word_t carry = constant_time_eq_w(hi & 1, 1); in reverse_and_mulX_ghash()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | gfp_p256.c | 85 crypto_word equal = constant_time_eq_w(index, (crypto_word)i + 1); in GFp_nistz256_select_w5()
|
D | gfp_p384.c | 228 crypto_word equal = constant_time_eq_w(index, (crypto_word)i + 1); in gfp_p384_point_select_w5()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 111 good = constant_time_eq_w(0xff, good & 0xff); in EVP_tls_cbc_remove_padding() 153 crypto_word_t is_mac_start = constant_time_eq_w(i, mac_start); in EVP_tls_cbc_copy_mac()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 111 good = constant_time_eq_w(0xff, good & 0xff); in EVP_tls_cbc_remove_padding() 153 crypto_word_t is_mac_start = constant_time_eq_w(i, mac_start); in EVP_tls_cbc_copy_mac()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | cmp.c | 74 crypto_word_t eq = constant_time_eq_w(a[i], b[i]); in bn_cmp_words_consttime()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | cmp.c | 74 crypto_word_t eq = constant_time_eq_w(a[i], b[i]); in bn_cmp_words_consttime()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 227 ok &= constant_time_eq_w((claimed_len - 1) >> 3, (in_len - 9) >> 3); in AES_unwrap_key_padded()
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 227 ok &= constant_time_eq_w((claimed_len - 1) >> 3, (in_len - 9) >> 3); in AES_unwrap_key_padded()
|
/external/boringssl/src/crypto/hrss/ |
D | hrss.c | 1427 ok &= constant_time_eq_w(v, expected); in poly3_from_poly_checked()
|