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

#include <test/suites/attestation/attest_token_decode.h>

Data Fields

struct q_useful_buf_c payload
 
uint32_t options
 
enum attest_token_err_t last_error
 

Detailed Description

The context for decoding an attestation token. The caller of 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.

Definition at line 102 of file attest_token_decode.h.

Field Documentation

enum attest_token_err_t last_error

Definition at line 106 of file attest_token_decode.h.

uint32_t options

Definition at line 105 of file attest_token_decode.h.

struct q_useful_buf_c payload

Definition at line 104 of file attest_token_decode.h.


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