OPTIGA™ Trust M
Host Library Documentation
optiga_derive_key Struct Reference

Specifies the structure for derivation of key using pseudo random function. More...

#include <optiga_lib_common.h>

Data Fields

const uint8_t * random_data
 Random Seed/Salt. More...
 
const uint8_t * label
 Label input as a constant string. More...
 
const uint8_t * info
 Application specific info. More...
 
uint8_t * derived_key
 Pointer to a buffer where the exported key to be stored. More...
 
uint16_t input_shared_secret_oid
 Session based (optiga_key_id_t) or Data object which has the pre-shared secret. More...
 
uint16_t random_data_length
 Random Seed/Salt length. More...
 
uint16_t label_length
 Label length. More...
 
uint16_t info_length
 Info length. More...
 
uint16_t derived_key_length
 Derived Key length. More...
 

Detailed Description

Specifies the structure for derivation of key using pseudo random function.

Definition at line 519 of file optiga_lib_common.h.

Field Documentation

◆ derived_key

uint8_t* optiga_derive_key::derived_key

Pointer to a buffer where the exported key to be stored.

Definition at line 528 of file optiga_lib_common.h.

◆ derived_key_length

uint16_t optiga_derive_key::derived_key_length

Derived Key length.

Definition at line 538 of file optiga_lib_common.h.

◆ info

const uint8_t* optiga_derive_key::info

Application specific info.

Definition at line 526 of file optiga_lib_common.h.

◆ info_length

uint16_t optiga_derive_key::info_length

Info length.

Definition at line 536 of file optiga_lib_common.h.

◆ input_shared_secret_oid

uint16_t optiga_derive_key::input_shared_secret_oid

Session based (optiga_key_id_t) or Data object which has the pre-shared secret.

Definition at line 530 of file optiga_lib_common.h.

◆ label

const uint8_t* optiga_derive_key::label

Label input as a constant string.

Definition at line 524 of file optiga_lib_common.h.

◆ label_length

uint16_t optiga_derive_key::label_length

Label length.

Definition at line 534 of file optiga_lib_common.h.

◆ random_data

const uint8_t* optiga_derive_key::random_data

Random Seed/Salt.

Definition at line 522 of file optiga_lib_common.h.

◆ random_data_length

uint16_t optiga_derive_key::random_data_length

Random Seed/Salt length.

Definition at line 532 of file optiga_lib_common.h.