8 #ifndef __ATTEST_KEY_H__
9 #define __ATTEST_KEY_H__
14 #include "q_useful_buf.h"
85 size_t *public_key_len,
88 #ifdef INCLUDE_COSE_KEY_ID
103 attest_get_initial_attestation_key_id(
struct q_useful_buf_c *attest_key_id);
106 attest_get_initial_attestation_key_id(
struct q_useful_buf_c *attest_key_id)
enum psa_attest_err_t attest_get_initial_attestation_public_key(uint8_t **public_key, size_t *public_key_len, psa_ecc_family_t *public_key_curve)
Get the public key derived from the initial attestation private key.
Platform Security Architecture cryptography module.
psa_attest_err_t
Initial attestation service error types.
enum psa_attest_err_t attest_get_instance_id(struct q_useful_buf_c *id_buf)
Get the buffer of Instance ID data.
enum psa_attest_err_t attest_register_initial_attestation_key()
Register the initial attestation private key to Crypto service. Loads the public key if the key has n...
enum psa_attest_err_t attest_get_signing_key_handle(psa_key_handle_t *key_handle)
Get the handle of the key for signing token In asymmetric key algorithm based initial attestation...
enum psa_attest_err_t attest_unregister_initial_attestation_key()
Unregister the initial attestation private key from Crypto service to do not occupy key slot...