Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dpkparse.c1666 unsigned char *key_copy; in mbedtls_pk_parse_key() local
1668 if ((key_copy = mbedtls_calloc(1, keylen)) == NULL) { in mbedtls_pk_parse_key()
1672 memcpy(key_copy, key, keylen); in mbedtls_pk_parse_key()
1674 ret = mbedtls_pk_parse_key_pkcs8_encrypted_der(pk, key_copy, keylen, in mbedtls_pk_parse_key()
1677 mbedtls_zeroize_and_free(key_copy, keylen); in mbedtls_pk_parse_key()