Searched refs:priv_key (Results 1 – 3 of 3) sorted by relevance
96 int mbedtls_pkcs11_priv_key_bind( mbedtls_pkcs11_context *priv_key, in mbedtls_pkcs11_priv_key_bind() argument104 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() argument123 if( NULL != priv_key ) in mbedtls_pkcs11_priv_key_free()124 pkcs11h_certificate_freeCertificate( priv_key->pkcs11h_cert ); in mbedtls_pkcs11_priv_key_free()
102 mbedtls_pkcs11_context *priv_key,115 mbedtls_pkcs11_context *priv_key );
52 ltc_asn1_list *seq, *priv_key; in ecc_import_pkcs8() local73 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 3 milliseconds