Searched refs:pad_done (Results 1 – 2 of 2) sorted by relevance
936 unsigned char pad_done = 0; in mbedtls_ct_rsaes_pkcs1_v15_unpadding() local955 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()
1488 unsigned char *p, bad, pad_done; in mbedtls_rsa_rsaes_oaep_decrypt() local1562 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()