Home
last modified time | relevance | path

Searched refs:constant_time_select_8 (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/ssl/record/methods/
H A Dtls_pad.c284 aux3 = constant_time_select_8(mask, aux1, aux2); in ssl3_cbc_copy_mac()
288 out[j++] = constant_time_select_8((unsigned char)(good & 0xff), in ssl3_cbc_copy_mac()
304 out[i] = constant_time_select_8((unsigned char)(good & 0xff), out[i], in ssl3_cbc_copy_mac()
H A Dssl3_cbc.c415 b = constant_time_select_8(is_past_c, 0x80, b); in ssl3_cbc_digest_record()
433 b = constant_time_select_8(is_block_b, in ssl3_cbc_digest_record()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c256 em[i] = constant_time_select_8(mask, em[i + msg_index], em[i]); in RSA_padding_check_PKCS1_type_2()
260 to[i] = constant_time_select_8(mask, em[i + RSA_PKCS1_PADDING_SIZE], to[i]); in RSA_padding_check_PKCS1_type_2()
510 to[j] = constant_time_select_8(good, from[i], synthetic[i]); in ossl_rsa_padding_check_PKCS1_type_2()
624 to[i] = constant_time_select_8(good, in ossl_rsa_padding_check_PKCS1_type_2_TLS()
H A Drsa_oaep.c316 db[i] = constant_time_select_8(mask, db[i + msg_index], db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
320 to[i] = constant_time_select_8(mask, db[i + mdlen + 1], to[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h87 static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
349 static ossl_inline unsigned char constant_time_select_8(unsigned char mask, in constant_time_select_8() function
470 *(outc + j) |= constant_time_select_8(mask, *(tablec++), 0); in constant_time_lookup()
/freebsd/crypto/openssl/test/
H A Dconstant_time_test.c167 if (!TEST_uint_eq(constant_time_select_8(CONSTTIME_TRUE_8, a, b), a)) in test_select_8()
169 if (!TEST_uint_eq(constant_time_select_8(CONSTTIME_FALSE_8, a, b), b)) in test_select_8()
/freebsd/crypto/openssl/crypto/ml_kem/
H A Dml_kem.c1838 secret[i] = constant_time_select_8(mask, Kr[i], failure_key[i]); in decap()