Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpkcs11.c96 int mbedtls_pkcs11_priv_key_bind( mbedtls_pkcs11_context *priv_key, in mbedtls_pkcs11_priv_key_bind() argument
104 if( priv_key == NULL ) in mbedtls_pkcs11_priv_key_bind()
110 priv_key->len = mbedtls_pk_get_len( &cert.pk ); in mbedtls_pkcs11_priv_key_bind()
111 priv_key->pkcs11h_cert = pkcs11_cert; in mbedtls_pkcs11_priv_key_bind()
121 void mbedtls_pkcs11_priv_key_free( mbedtls_pkcs11_context *priv_key ) in mbedtls_pkcs11_priv_key_free() argument
123 if( NULL != priv_key ) in mbedtls_pkcs11_priv_key_free()
124 pkcs11h_certificate_freeCertificate( priv_key->pkcs11h_cert ); in mbedtls_pkcs11_priv_key_free()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpkcs11.h102 mbedtls_pkcs11_context *priv_key,
115 mbedtls_pkcs11_context *priv_key );
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_import_pkcs8.c52 ltc_asn1_list *seq, *priv_key; in ecc_import_pkcs8() local
73 LTC_SET_DER_FLEXI_CHECK(flexi_should, n++, LTC_ASN1_OCTET_STRING, &priv_key); in ecc_import_pkcs8()
156 len = priv_key->size; in ecc_import_pkcs8()
157 if ((err = der_decode_sequence_flexi(priv_key->data, &len, &p)) == CRYPT_OK) { in ecc_import_pkcs8()

Completed in 4 milliseconds