Home
last modified time | relevance | path

Searched refs:mbedtls_ct_bool_or (Results 1 – 8 of 8) sorted by relevance

/mbedtls-3.7.0/library/
Dbignum_core.c124 msll_mask = mbedtls_ct_bool_or(msll_mask, mbedtls_ct_bool(A[i])); in mbedtls_mpi_core_uint_le_mpi()
129 return mbedtls_ct_bool_or(msll_mask, min_le_lsl); in mbedtls_mpi_core_uint_le_mpi()
147 done = mbedtls_ct_bool_or(done, cond); in mbedtls_mpi_core_lt_ct()
156 ret = mbedtls_ct_bool_or(ret, mbedtls_ct_bool_and(cond, mbedtls_ct_bool_not(done))); in mbedtls_mpi_core_lt_ct()
157 done = mbedtls_ct_bool_or(done, cond); in mbedtls_mpi_core_lt_ct()
Dcipher.c855 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_uint_eq(padding_len, 0)); in get_pkcs_padding()
863 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_bool_and(in_padding, different)); in get_pkcs_padding()
946 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_uint_eq(padding_len, 0)); in get_zeros_and_len_padding()
954 bad = mbedtls_ct_bool_or(bad, nonzero_pad_byte); in get_zeros_and_len_padding()
984 done = mbedtls_ct_bool_or(done, mbedtls_ct_uint_ne(input[i-1], 0)); in get_zeros_padding()
Dconstant_time_internal.h230 static inline mbedtls_ct_condition_t mbedtls_ct_bool_or(mbedtls_ct_condition_t x,
Drsa.c477 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_uint_ne(input[1], MBEDTLS_RSA_CRYPT)); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
484 pad_done = mbedtls_ct_bool_or(pad_done, found); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
489 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_bool_not(pad_done)); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
492 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_uint_gt(8, pad_count)); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
527 mbedtls_ct_zeroize_if(mbedtls_ct_bool_or(bad, output_too_large), input + 11, ilen - 11); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
1993 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_bool(mbedtls_ct_memcmp(lhash, p, hlen))); in mbedtls_rsa_rsaes_oaep_decrypt()
2006 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_uint_ne(*p++, 0x01)); in mbedtls_rsa_rsaes_oaep_decrypt()
Dconstant_time_impl.h540 static inline mbedtls_ct_condition_t mbedtls_ct_bool_or(mbedtls_ct_condition_t x, in mbedtls_ct_bool_or() function
Dssl_tls12_server.c3559 diff = mbedtls_ct_bool_or(diff, mbedtls_ct_uint_ne(peer_pmslen, 48)); in ssl_parse_encrypted_pms()
3560 diff = mbedtls_ct_bool_or(diff, mbedtls_ct_uint_ne(peer_pms[0], ver[0])); in ssl_parse_encrypted_pms()
3561 diff = mbedtls_ct_bool_or(diff, mbedtls_ct_uint_ne(peer_pms[1], ver[1])); in ssl_parse_encrypted_pms()
Dbignum.c96 result = mbedtls_ct_bool_or(result, in mbedtls_mpi_lt_mpi_ct()
/mbedtls-3.7.0/tests/suites/
Dtest_suite_constant_time.function87 TEST_EQUAL(mbedtls_ct_bool_or(mbedtls_ct_bool(x), mbedtls_ct_bool(y)), expected);