Home
last modified time | relevance | path

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

/openssl/crypto/rsa/
H A Drsa_pk1.c404 uint16_t len_candidate; in ossl_rsa_padding_check_PKCS1_type_2() local
405 unsigned char candidate_lengths[MAX_LEN_GEN_TRIES * sizeof(len_candidate)]; in ossl_rsa_padding_check_PKCS1_type_2()
438 MAX_LEN_GEN_TRIES * sizeof(len_candidate) * 8) < 0) in ossl_rsa_padding_check_PKCS1_type_2()
456 for (i = 0; i < MAX_LEN_GEN_TRIES * (int)sizeof(len_candidate); in ossl_rsa_padding_check_PKCS1_type_2()
457 i += sizeof(len_candidate)) { in ossl_rsa_padding_check_PKCS1_type_2()
458 len_candidate = (candidate_lengths[i] << 8) | candidate_lengths[i + 1]; in ossl_rsa_padding_check_PKCS1_type_2()
459 len_candidate &= len_mask; in ossl_rsa_padding_check_PKCS1_type_2()
462 constant_time_lt(len_candidate, max_sep_offset), in ossl_rsa_padding_check_PKCS1_type_2()
463 len_candidate, synthetic_length); in ossl_rsa_padding_check_PKCS1_type_2()

Completed in 5 milliseconds