Searched refs:key_copy (Results 1 – 1 of 1) sorted by relevance
1355 unsigned char *key_copy; in mbedtls_pk_parse_key() local1357 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()