Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Dpadding.c215 unsigned i, zero_index = 0, looking_for_index = ~0u; in RSA_padding_check_PKCS1_type_2() local
218 zero_index = constant_time_select(looking_for_index & equals0, (unsigned)i, in RSA_padding_check_PKCS1_type_2()
219 zero_index); in RSA_padding_check_PKCS1_type_2()
231 valid_index &= constant_time_ge(zero_index, 2 + 8); in RSA_padding_check_PKCS1_type_2()
234 zero_index++; in RSA_padding_check_PKCS1_type_2()
245 const unsigned msg_len = from_len - zero_index; in RSA_padding_check_PKCS1_type_2()
258 memcpy(to, &from[zero_index], msg_len); in RSA_padding_check_PKCS1_type_2()