Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dpk_wrap.c489 size_t unpadded_len, padding_len; in extract_ecdsa_sig_int() local
491 if( ( ret = mbedtls_asn1_get_tag( from, end, &unpadded_len, in extract_ecdsa_sig_int()
497 while( unpadded_len > 0 && **from == 0x00 ) in extract_ecdsa_sig_int()
500 unpadded_len--; in extract_ecdsa_sig_int()
503 if( unpadded_len > to_len || unpadded_len == 0 ) in extract_ecdsa_sig_int()
506 padding_len = to_len - unpadded_len; in extract_ecdsa_sig_int()
508 memcpy( to + padding_len, *from, unpadded_len ); in extract_ecdsa_sig_int()
509 ( *from ) += unpadded_len; in extract_ecdsa_sig_int()