Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dconstant_time.c936 unsigned char pad_done = 0; in mbedtls_ct_rsaes_pkcs1_v15_unpadding() local
955 pad_done |= ((input[i] | (unsigned char) -input[i]) >> 7) ^ 1; in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
956 pad_count += ((pad_done | (unsigned char) -pad_done) >> 7) ^ 1; in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
961 bad |= mbedtls_ct_uint_if(pad_done, 0, 1); in mbedtls_ct_rsaes_pkcs1_v15_unpadding()
Drsa.c1488 unsigned char *p, bad, pad_done; in mbedtls_rsa_rsaes_oaep_decrypt() local
1562 pad_done = 0; in mbedtls_rsa_rsaes_oaep_decrypt()
1564 pad_done |= p[i]; in mbedtls_rsa_rsaes_oaep_decrypt()
1565 pad_len += ((pad_done | (unsigned char) -pad_done) >> 7) ^ 1; in mbedtls_rsa_rsaes_oaep_decrypt()