OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
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:

Public Attributes

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.

Member Data Documentation

◆ export_to_host

uint8_t optiga_calc_ssec::export_to_host

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

◆ 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.

◆ public_key

public_key_from_host_t* optiga_calc_ssec::public_key

Public Key of the peer.

◆ shared_secret

uint8_t* optiga_calc_ssec::shared_secret

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


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