Home
last modified time | relevance | path

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

/mbedtls-3.4.0/library/
Dpk_wrap.c871 size_t unpadded_len, padding_len; in extract_ecdsa_sig_int() local
873 if( ( ret = mbedtls_asn1_get_tag( from, end, &unpadded_len, in extract_ecdsa_sig_int()
879 while( unpadded_len > 0 && **from == 0x00 ) in extract_ecdsa_sig_int()
882 unpadded_len--; in extract_ecdsa_sig_int()
885 if( unpadded_len > to_len || unpadded_len == 0 ) in extract_ecdsa_sig_int()
888 padding_len = to_len - unpadded_len; in extract_ecdsa_sig_int()
890 memcpy( to + padding_len, *from, unpadded_len ); in extract_ecdsa_sig_int()
891 ( *from ) += unpadded_len; in extract_ecdsa_sig_int()