Searched refs:pad_len (Results 1 – 2 of 2) sorted by relevance
247 size_t pad_len = input[input_len - 1]; in pem_check_pkcs_padding() local250 if (pad_len > input_len) { in pem_check_pkcs_padding()254 *data_len = input_len - pad_len; in pem_check_pkcs_padding()257 if (input[i] != pad_len) { in pem_check_pkcs_padding()
1925 size_t ilen, i, pad_len; in mbedtls_rsa_rsaes_oaep_decrypt() local1998 pad_len = 0; in mbedtls_rsa_rsaes_oaep_decrypt()2002 pad_len += mbedtls_ct_uint_if_else_0(in_padding, 1); in mbedtls_rsa_rsaes_oaep_decrypt()2005 p += pad_len; in mbedtls_rsa_rsaes_oaep_decrypt()