Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
yh_log_entry Struct Reference

#include <yubihsm.h>

Public Attributes

uint16_t number
 Monotonically increasing index.
 
uint8_t command
 What command was executed.
 
uint16_t length
 Length of in-data.
 
uint16_t session_key
 ID of Authentication Key used.
 
uint16_t target_key
 ID of first Object used.
 
uint16_t second_key
 ID of second Object used.
 
uint8_t result
 Command result.
 
uint32_t systick
 Systick at time of execution.
 
uint8_t digest [YH_LOG_DIGEST_SIZE]
 Truncated sha256 digest of this last digest + this entry.
 

Detailed Description

Logging struct as returned by device

See also
Objects

Definition at line 516 of file yubihsm.h.

Member Data Documentation

◆ command

uint8_t yh_log_entry::command
See also
yh_cmd

Definition at line 520 of file yubihsm.h.

◆ digest

uint8_t yh_log_entry::digest[YH_LOG_DIGEST_SIZE]

Definition at line 534 of file yubihsm.h.

◆ length

uint16_t yh_log_entry::length

Definition at line 522 of file yubihsm.h.

◆ number

uint16_t yh_log_entry::number

Definition at line 518 of file yubihsm.h.

◆ result

uint8_t yh_log_entry::result
See also
yh_cmd

Definition at line 530 of file yubihsm.h.

◆ second_key

uint16_t yh_log_entry::second_key

Definition at line 528 of file yubihsm.h.

◆ session_key

uint16_t yh_log_entry::session_key

Definition at line 524 of file yubihsm.h.

◆ systick

uint32_t yh_log_entry::systick

Definition at line 532 of file yubihsm.h.

◆ target_key

uint16_t yh_log_entry::target_key

Definition at line 526 of file yubihsm.h.


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