Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dpkparse.c1355 unsigned char *key_copy; in mbedtls_pk_parse_key() local
1357 if( ( key_copy = mbedtls_calloc( 1, keylen ) ) == NULL ) in mbedtls_pk_parse_key()
1360 memcpy( key_copy, key, keylen ); in mbedtls_pk_parse_key()
1362 ret = pk_parse_key_pkcs8_encrypted_der( pk, key_copy, keylen, in mbedtls_pk_parse_key()
1365 mbedtls_platform_zeroize( key_copy, keylen ); in mbedtls_pk_parse_key()
1366 mbedtls_free( key_copy ); in mbedtls_pk_parse_key()