Specifies the structure for asymmetric encryption and decryption. More...
#include <optiga_lib_common.h>
Public Attributes | |
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.
const void* optiga_enc_dec_asym::key |
Public key provided by host.
const uint8_t* optiga_enc_dec_asym::message |
Message to be encrypted. Set NULL if data from session OID.
uint16_t optiga_enc_dec_asym::message_length |
Length of message to be encrypted. Set 0 if data from session OID.
optiga_key_id_t optiga_enc_dec_asym::private_key_id |
Store private key OID.
uint8_t* optiga_enc_dec_asym::processed_message |
Pointer to buffer where encrypted or decrypted message is stored.
uint16_t* optiga_enc_dec_asym::processed_message_length |
Pointer to the length of the encrypted or decrypted message.
uint8_t optiga_enc_dec_asym::public_key_source_type |
Source of provided public key for encryption and Private key for decryption.