CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
tlv_t Struct Reference

Parsed TLV: pointers alias into the caller-supplied buffer. More...

#include <tlv.h>

Public Attributes

uint16_t tag
size_t length
const uint8_t * value
size_t total_size

Detailed Description

Parsed TLV: pointers alias into the caller-supplied buffer.

Definition at line 123 of file tlv.h.

Member Data Documentation

◆ length

size_t tlv_t::length

Definition at line 125 of file tlv.h.

Referenced by tlv_parse().

◆ tag

uint16_t tlv_t::tag

Definition at line 124 of file tlv.h.

Referenced by tlv_parse().

◆ total_size

size_t tlv_t::total_size

Number of bytes the entire TLV consumed.

Definition at line 127 of file tlv.h.

Referenced by tlv_parse().

◆ value

const uint8_t* tlv_t::value

Points into the input buffer; NULL if length == 0.

Definition at line 126 of file tlv.h.

Referenced by tlv_parse().


The documentation for this struct was generated from the following file:
  • components/mod_gpg/include/mod_gpg/openpgp/tlv.h