OPTIGA™ Trust M
Host Library Documentation
optiga_calc_hash Struct Reference

Specifies the data structure of calculate hash. More...

#include <optiga_lib_common.h>

Collaboration diagram for optiga_calc_hash:

Data Fields

hash_data_in_optiga_tp_hash_oid
 OID hash pointer. More...
 
hash_data_from_host_tp_hash_data
 Data buffer pointer. More...
 
optiga_hash_context_tp_hash_context
 Context buffer pointer. More...
 
uint8_t hash_sequence
 Type of hash operation. More...
 
uint8_t current_hash_sequence
 Current type of hash operation. More...
 
uint32_t data_sent
 Data length has been sent. More...
 
uint8_t * p_out_digest
 Out digest. More...
 
bool_t export_hash_ctx
 export hash ctx More...
 
uint32_t apparent_context_size
 Possible context size to send in a fragment. More...
 

Detailed Description

Specifies the data structure of calculate hash.

Definition at line 401 of file optiga_lib_common.h.

Field Documentation

◆ apparent_context_size

uint32_t optiga_calc_hash::apparent_context_size

Possible context size to send in a fragment.

Definition at line 420 of file optiga_lib_common.h.

◆ current_hash_sequence

uint8_t optiga_calc_hash::current_hash_sequence

Current type of hash operation.

Definition at line 412 of file optiga_lib_common.h.

◆ data_sent

uint32_t optiga_calc_hash::data_sent

Data length has been sent.

Definition at line 414 of file optiga_lib_common.h.

◆ export_hash_ctx

bool_t optiga_calc_hash::export_hash_ctx

export hash ctx

Definition at line 418 of file optiga_lib_common.h.

◆ hash_sequence

uint8_t optiga_calc_hash::hash_sequence

Type of hash operation.

Definition at line 410 of file optiga_lib_common.h.

◆ p_hash_context

optiga_hash_context_t* optiga_calc_hash::p_hash_context

Context buffer pointer.

Definition at line 408 of file optiga_lib_common.h.

◆ p_hash_data

hash_data_from_host_t* optiga_calc_hash::p_hash_data

Data buffer pointer.

Definition at line 406 of file optiga_lib_common.h.

◆ p_hash_oid

hash_data_in_optiga_t* optiga_calc_hash::p_hash_oid

OID hash pointer.

Definition at line 404 of file optiga_lib_common.h.

◆ p_out_digest

uint8_t* optiga_calc_hash::p_out_digest

Out digest.

Definition at line 416 of file optiga_lib_common.h.