OPTIGA™ Trust M
Host Library Documentation
|
Specifies the structure for asymmetric encryption and decryption. More...
#include <optiga_lib_common.h>
Data Fields | |
uint16_t | message_length |
Length of message to be encrypted. Set 0 if data from session OID. More... | |
uint16_t * | processed_message_length |
Pointer to the length of the encrypted or decrypted message. More... | |
const uint8_t * | message |
Message to be encrypted. Set NULL if data from session OID. More... | |
uint8_t | public_key_source_type |
Source of provided public key for encryption and Private key for decryption. More... | |
const void * | key |
Public key provided by host. More... | |
uint8_t * | processed_message |
Pointer to buffer where encrypted or decrypted message is stored. More... | |
optiga_key_id_t | private_key_id |
Store private key OID. More... | |
Specifies the structure for asymmetric encryption and decryption.
Definition at line 545 of file optiga_lib_common.h.
const void* optiga_enc_dec_asym::key |
Public key provided by host.
Definition at line 556 of file optiga_lib_common.h.
const uint8_t* optiga_enc_dec_asym::message |
Message to be encrypted. Set NULL if data from session OID.
Definition at line 552 of file optiga_lib_common.h.
uint16_t optiga_enc_dec_asym::message_length |
Length of message to be encrypted. Set 0 if data from session OID.
Definition at line 548 of file optiga_lib_common.h.
optiga_key_id_t optiga_enc_dec_asym::private_key_id |
Store private key OID.
Definition at line 560 of file optiga_lib_common.h.
uint8_t* optiga_enc_dec_asym::processed_message |
Pointer to buffer where encrypted or decrypted message is stored.
Definition at line 558 of file optiga_lib_common.h.
uint16_t* optiga_enc_dec_asym::processed_message_length |
Pointer to the length of the encrypted or decrypted message.
Definition at line 550 of file optiga_lib_common.h.
uint8_t optiga_enc_dec_asym::public_key_source_type |
Source of provided public key for encryption and Private key for decryption.
Definition at line 554 of file optiga_lib_common.h.