Lines Matching refs:pkey
578 if (cert->pkey != NULL) {
580 if (mbedtls_pk_get_type(cert->pkey) == MBEDTLS_PK_OPAQUE) {
581 psa_destroy_key(cert->pkey->priv_id);
584 mbedtls_pk_free(cert->pkey);
585 mbedtls_free(cert->pkey);
586 cert->pkey = NULL;
610 TEST_CALLOC(cert->pkey, 1);
614 mbedtls_pk_init(cert->pkey);
637 cert->pkey,
650 cert->pkey,
665 cert->pkey,
678 cert->pkey,
690 TEST_EQUAL(mbedtls_pk_get_psa_attributes(cert->pkey, PSA_KEY_USAGE_SIGN_HASH,
698 TEST_EQUAL(mbedtls_pk_import_into_psa(cert->pkey, &key_attr, &key_slot), 0);
699 mbedtls_pk_free(cert->pkey);
700 mbedtls_pk_init(cert->pkey);
701 TEST_EQUAL(mbedtls_pk_setup_opaque(cert->pkey, key_slot), 0);
712 cert->pkey);
721 cert->pkey);