TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
attest_token_encode_ctx Struct Reference

#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
 

Detailed Description

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.

Field Documentation

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.


The documentation for this struct was generated from the following file: