Home
last modified time | relevance | path

Searched refs:constant_time_select (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/include/internal/
Dconstant_time.h79 static ossl_inline unsigned int constant_time_select(unsigned int mask,
270 static ossl_inline unsigned int constant_time_select(unsigned int mask, in constant_time_select() function
288 return (unsigned char)constant_time_select(mask, a, b); in constant_time_select_8()
294 return (int)constant_time_select(mask, (unsigned)(a), (unsigned)(b)); in constant_time_select_int()
299 return (int)constant_time_select((unsigned)mask, (unsigned)(a), in constant_time_select_int_s()
/third_party/openssl/test/
Dconstant_time_test.c159 if (!TEST_uint_eq(constant_time_select(CONSTTIME_TRUE, a, b), a)) in test_select()
161 if (!TEST_uint_eq(constant_time_select(CONSTTIME_FALSE, a, b), b)) in test_select()
/third_party/openssl/crypto/evp/
De_aes_cbc_hmac_sha1.c539 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher()
De_aes_cbc_hmac_sha256.c551 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha256_cipher()