Searched refs:constant_time_eq_w (Results 1 – 12 of 12) sorted by relevance
/crypto/cipher/ |
A D | tls_cbc.cc | 64 good = constant_time_eq_w(0xff, good & 0xff); in EVP_tls_cbc_remove_padding() 106 crypto_word_t is_mac_start = constant_time_eq_w(i, mac_start); in EVP_tls_cbc_copy_mac() 213 crypto_word_t is_last_block = constant_time_eq_w(i, last_block); in EVP_sha1_final_with_secret_suffix() 306 crypto_word_t is_last_block = constant_time_eq_w(i, last_block); in EVP_sha256_final_with_secret_suffix()
|
A D | e_aesgcmsiv.cc | 650 const crypto_word_t carry = constant_time_eq_w(hi & 1, 1); in reverse_and_mulX_ghash()
|
/crypto/rsa/ |
A D | rsa_crypt.cc | 177 crypto_word_t equals1 = constant_time_eq_w(db[i], 1); in RSA_padding_check_PKCS1_OAEP_mgf1() 178 crypto_word_t equals0 = constant_time_eq_w(db[i], 0); in RSA_padding_check_PKCS1_OAEP_mgf1() 260 crypto_word_t first_byte_is_zero = constant_time_eq_w(from[0], 0); in rsa_padding_check_PKCS1_type_2() 261 crypto_word_t second_byte_is_two = constant_time_eq_w(from[1], 2); in rsa_padding_check_PKCS1_type_2()
|
/crypto/curve25519/ |
A D | spake25519.cc | 406 constant_time_eq_w(password_scalar.words[0] & 1, 1)); in SPAKE2_generate_msg() 412 constant_time_eq_w(password_scalar.words[0] & 2, 2)); in SPAKE2_generate_msg() 418 constant_time_eq_w(password_scalar.words[0] & 4, 4)); in SPAKE2_generate_msg()
|
A D | curve25519.cc | 732 cmov(&e, &multiples[j - 1], 1 & constant_time_eq_w(index, j)); in x25519_ge_scalarmult_small_precomp() 769 constant_time_eq_w(babs, 1 + i)); in table_select() 909 cmov_cached(&selected, &Ai[j], 1 & constant_time_eq_w(index, j)); in x25519_ge_scalarmult()
|
/crypto/fipsmodule/ec/ |
A D | simple_mul.cc.inc | 62 BN_ULONG mask = constant_time_eq_w(j, window); 117 BN_ULONG mask = constant_time_eq_w(j, digit); 228 BN_ULONG match = constant_time_eq_w(window, j + 1);
|
A D | p224-64.cc.inc | 845 uint64_t mask = value_barrier_w(constant_time_eq_w(i, idx));
|
/crypto/ |
A D | internal.h | 351 static inline crypto_word_t constant_time_eq_w(crypto_word_t a, in constant_time_eq_w() function 359 return (uint8_t)(constant_time_eq_w(a, b)); in constant_time_eq_8() 365 return constant_time_eq_w((crypto_word_t)(a), (crypto_word_t)(b)); in constant_time_eq_int()
|
A D | constant_time_test.cc | 80 EXPECT_EQ(FromBoolW(a == b), constant_time_eq_w(a, b)); in TEST()
|
/crypto/fipsmodule/bn/ |
A D | cmp.cc.inc | 33 crypto_word_t eq = constant_time_eq_w(a[i], b[i]);
|
/crypto/fipsmodule/aes/ |
A D | key_wrap.cc.inc | 196 ok &= constant_time_eq_w((claimed_len - 1) >> 3, (in_len - 9) >> 3);
|
/crypto/hrss/ |
A D | hrss.cc | 1402 ok &= constant_time_eq_w(v, expected); in poly3_from_poly_checked()
|
Completed in 611 milliseconds