Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dpsa_util.c509 size_t unpadded_len, padding_len = 0; in convert_der_to_raw_single_int() local
512 ret = mbedtls_asn1_get_tag(&p, p + der_len, &unpadded_len, in convert_der_to_raw_single_int()
521 if (((unpadded_len == 0) || (*p & 0x80) != 0)) { in convert_der_to_raw_single_int()
528 unpadded_len--; in convert_der_to_raw_single_int()
532 if ((unpadded_len > 0) && (*p == 0x00)) { in convert_der_to_raw_single_int()
537 if (unpadded_len > coordinate_size) { in convert_der_to_raw_single_int()
541 padding_len = coordinate_size - unpadded_len; in convert_der_to_raw_single_int()
544 memcpy(raw + padding_len, p, unpadded_len); in convert_der_to_raw_single_int()
545 p += unpadded_len; in convert_der_to_raw_single_int()
Dpem.c463 size_t unpadded_len; in mbedtls_pem_read_buffer() local
464 ret = pem_check_pkcs_padding(buf, len, &unpadded_len); in mbedtls_pem_read_buffer()
469 len = unpadded_len; in mbedtls_pem_read_buffer()