Lines Matching refs:key_id
79 psa_key_id_t key_id;
98 status = psa_import_key(&attributes, key, key_len, &key_id);
109 psa_destroy_key(key_id);
138 psa_key_id_t key_id;
157 status = psa_import_key(&attributes, key, key_len, &key_id);
164 status = psa_sign_hash(key_id, PSA_ALG_RSA_PKCS1V15_SIGN_RAW,
179 psa_destroy_key(key_id);
216 psa_key_id_t key_id;
235 status = psa_import_key(&attributes, key, key_len, &key_id);
243 status = psa_cipher_encrypt_setup(&operation, key_id, alg);
271 psa_destroy_key(key_id);
301 psa_key_id_t key_id;
319 status = psa_import_key(&attributes, key, key_len, &key_id);
327 status = psa_cipher_decrypt_setup(&operation, key_id, alg);
355 psa_destroy_key(key_id);
705 psa_key_id_t key_id;
729 status = psa_import_key(&attributes, key, sizeof(key), &key_id);
733 status = psa_aead_encrypt(key_id, PSA_ALG_CCM,
750 psa_destroy_key(key_id);
776 psa_key_id_t key_id;
800 status = psa_import_key(&attributes, key_data, sizeof(key_data), &key_id);
808 status = psa_aead_decrypt(key_id, PSA_ALG_CCM,
825 psa_destroy_key(key_id);
851 psa_key_id_t key_id;
870 status = psa_generate_key(&attributes, &key_id);
877 status = psa_export_public_key(key_id, exported, sizeof(exported),
887 psa_destroy_key(key_id);