![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <secure_fw/partitions/initial_attestation/attest_token.h>
Data Fields | |
QCBOREncodeContext | cbor_enc_ctx |
uint32_t | opt_flags |
int32_t | key_select |
struct t_cose_sign1_sign_ctx | signer_ctx |
The context for creating an attestation token. The caller of attest_token_encode must create one of these and pass it to the functions here. It is small enough that it can go on the stack. It is most of the memory needed to create a token except the output buffer and any memory requirements for the cryptographic operations.
The structure is opaque for the caller.
This is roughly 148 + 8 + 32 = 188 bytes
Definition at line 131 of file attest_token.h.
QCBOREncodeContext cbor_enc_ctx |
Definition at line 133 of file attest_token.h.
int32_t key_select |
Definition at line 135 of file attest_token.h.
uint32_t opt_flags |
Definition at line 134 of file attest_token.h.
struct t_cose_sign1_sign_ctx signer_ctx |
Definition at line 139 of file attest_token.h.