Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Dpadding.c230 int valid_index, zero_index = 0; in RSA_message_index_PKCS1_type_2() local
253 valid_index = first_byte_is_zero; in RSA_message_index_PKCS1_type_2()
254 valid_index &= second_byte_is_two; in RSA_message_index_PKCS1_type_2()
257 valid_index &= ~looking_for_index; in RSA_message_index_PKCS1_type_2()
260 valid_index &= constant_time_le(2 + 8, zero_index); in RSA_message_index_PKCS1_type_2()
265 *out_index = constant_time_select(valid_index, zero_index, 0); in RSA_message_index_PKCS1_type_2()
266 return valid_index; in RSA_message_index_PKCS1_type_2()