OPTIGA™ Trust M
Host Library Documentation
optiga_calc_ssec Struct Reference

Specifies the data structure for ecdh secret generation. More...

#include <optiga_lib_common.h>

Collaboration diagram for optiga_calc_ssec:

Data Fields

public_key_from_host_tpublic_key
 Public Key of the peer. More...
 
uint8_t * shared_secret
 Pointer to a buffer where the exported shared secret to be stored. More...
 
optiga_key_id_t private_key
 OID of the Private Key (either Key store or Session based). Refer optiga_key_id_t for possible values. More...
 
uint8_t export_to_host
 Export to Host (store in OPTIGA Session or export to host) More...
 

Detailed Description

Specifies the data structure for ecdh secret generation.

Definition at line 504 of file optiga_lib_common.h.

Field Documentation

◆ export_to_host

uint8_t optiga_calc_ssec::export_to_host

Export to Host (store in OPTIGA Session or export to host)

Definition at line 513 of file optiga_lib_common.h.

◆ private_key

optiga_key_id_t optiga_calc_ssec::private_key

OID of the Private Key (either Key store or Session based). Refer optiga_key_id_t for possible values.

Definition at line 511 of file optiga_lib_common.h.

◆ public_key

public_key_from_host_t* optiga_calc_ssec::public_key

Public Key of the peer.

Definition at line 507 of file optiga_lib_common.h.

◆ shared_secret

uint8_t* optiga_calc_ssec::shared_secret

Pointer to a buffer where the exported shared secret to be stored.

Definition at line 509 of file optiga_lib_common.h.