Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/record/
H A Dtls_pad.c299 aux3 = constant_time_select_8(mask, aux1, aux2); in ssl3_cbc_copy_mac()
303 out[j++] = constant_time_select_8((unsigned char)(good & 0xff), in ssl3_cbc_copy_mac()
319 out[i] = constant_time_select_8((unsigned char)(good & 0xff), out[i], in ssl3_cbc_copy_mac()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pk1.c255 em[i] = constant_time_select_8(mask, em[i + msg_index], em[i]); in RSA_padding_check_PKCS1_type_2()
259 to[i] = constant_time_select_8(mask, em[i + RSA_PKCS1_PADDING_SIZE], to[i]); in RSA_padding_check_PKCS1_type_2()
381 constant_time_select_8(good, in ossl_rsa_padding_check_PKCS1_type_2_TLS()
H A Drsa_oaep.c298 db[i] = constant_time_select_8(mask, db[i + msg_index], db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
302 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.h84 static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
290 static ossl_inline unsigned char constant_time_select_8(unsigned char mask, in constant_time_select_8() function
411 *(outc + j) |= constant_time_select_8(mask, *(tablec++), 0); in constant_time_lookup()
/freebsd/crypto/openssl/ssl/
H A Ds3_cbc.c449 b = constant_time_select_8(is_past_c, 0x80, b); in ssl3_cbc_digest_record()
467 b = constant_time_select_8(is_block_b, in ssl3_cbc_digest_record()
/freebsd/crypto/openssl/test/
H A Dconstant_time_test.c168 if (!TEST_uint_eq(constant_time_select_8(CONSTTIME_TRUE_8, a, b), a)) in test_select_8()
170 if (!TEST_uint_eq(constant_time_select_8(CONSTTIME_FALSE_8, a, b), b)) in test_select_8()