API C/C++
HSM Dinamo
Loading...
Looking for...
No entries found
Structure Reference GEN_ECDH_X9_63

#include "dinamo.h"

Data Fields

char szTargetKeyName[MAX_OBJ_ID_FQN_LEN]
 
DWORD dwTargetKeyAlg
 
DWORD dwTargetKeyAttributes
 
DBLOB dbPubKey
 
DBLOB dbKDFData
 

Detailed description

ECDH standard X9.63 key derivation structure.

Examples
gen_ecdh.c and gen_xecdh.c.

Fields

szTargetKeyName

char szTargetKeyName[MAX_OBJ_ID_FQN_LEN]

Name of the key that will be derived and saved in the HSM. To save the derived key in the HSM, the definition of szTargetKeyName and dwTargetKeyAttributes is mandatory. To receive the generated material without saving the key in the HSM, fill in '\0' with zeros in the szTargetKeyName and dwTargetKeyAttributes options.

Examples
gen_ecdh.c and gen_xecdh.c.

dwTargetKeyAlg

DWORD dwTargetKeyAlg

Algorithm of the key to be derived. This parameter must always be defined.

Examples
gen_ecdh.c and gen_xecdh.c.

dwTargetKeyAttributes

DWORD dwTargetKeyAttributes

Attributes of the key to be derived.

Examples
gen_ecdh.c and gen_xecdh.c.

dbPubKey

DBLOB dbPubKey

Public key in DER format. The maximum size of the dbPubKey and dbKDFData buffers together must not exceed DN_ECDH_GEN_KEY_MAX_DATA.

Examples
gen_ecdh.c and gen_xecdh.c.

dbKDFData

DBLOB dbKDFData

Data that will be used to derive the key. The maximum size of the dbPubKey and dbKDFData buffers together must not exceed DN_ECDH_GEN_KEY_MAX_DATA.

Examples
gen_ecdh.c and gen_xecdh.c.

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