Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dpk_wrap.c506 size_t unpadded_len, padding_len; in extract_ecdsa_sig_int() local
508 if( ( ret = mbedtls_asn1_get_tag( from, end, &unpadded_len, in extract_ecdsa_sig_int()
514 while( unpadded_len > 0 && **from == 0x00 ) in extract_ecdsa_sig_int()
517 unpadded_len--; in extract_ecdsa_sig_int()
520 if( unpadded_len > to_len || unpadded_len == 0 ) in extract_ecdsa_sig_int()
523 padding_len = to_len - unpadded_len; in extract_ecdsa_sig_int()
525 memcpy( to + padding_len, *from, unpadded_len ); in extract_ecdsa_sig_int()
526 ( *from ) += unpadded_len; in extract_ecdsa_sig_int()