Searched refs:key_copy (Results 1 – 1 of 1) sorted by relevance
1347 unsigned char *key_copy; in mbedtls_pk_parse_key() local1349 if( ( key_copy = mbedtls_calloc( 1, keylen ) ) == NULL ) in mbedtls_pk_parse_key()1352 memcpy( key_copy, key, keylen ); in mbedtls_pk_parse_key()1354 ret = pk_parse_key_pkcs8_encrypted_der( pk, key_copy, keylen, in mbedtls_pk_parse_key()1357 mbedtls_platform_zeroize( key_copy, keylen ); in mbedtls_pk_parse_key()1358 mbedtls_free( key_copy ); in mbedtls_pk_parse_key()