Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dpk_wrap.c665 size_t unpadded_len, padding_len; in extract_ecdsa_sig_int() local
667 if ((ret = mbedtls_asn1_get_tag(from, end, &unpadded_len, in extract_ecdsa_sig_int()
672 while (unpadded_len > 0 && **from == 0x00) { in extract_ecdsa_sig_int()
674 unpadded_len--; in extract_ecdsa_sig_int()
677 if (unpadded_len > to_len || unpadded_len == 0) { in extract_ecdsa_sig_int()
681 padding_len = to_len - unpadded_len; in extract_ecdsa_sig_int()
683 memcpy(to + padding_len, *from, unpadded_len); in extract_ecdsa_sig_int()
684 (*from) += unpadded_len; in extract_ecdsa_sig_int()