Cryptographic Token Interface Standard

PKCS#11


CK_ECDH1_DERIVE_PARAMS Reference

CK_ECDH1_DERIVE_PARAMS, CK_ECDH1_DERIVE_PARAMS_PTR

CK_ECDH1_DERIVE_PARAMS is a structure that provides the parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms, where each party contributes one key pair. More...


Data Fields

CK_EC_KDF_TYPE kdf
 key derivation function used on the shared secret value. More...

CK_ULONG ulSharedDataLen
 the length in bytes of the shared info. More...

CK_BYTE_PTR pSharedData
 some data shared between the two parties. More...

CK_ULONG ulPublicDataLen
 the length in bytes of the other party's EC public key. More...

CK_BYTE_PTR pPublicData
 pointer to other party's EC public key value. More...


Detailed Description

CK_ECDH1_DERIVE_PARAMS, CK_ECDH1_DERIVE_PARAMS_PTR

CK_ECDH1_DERIVE_PARAMS is a structure that provides the parameters for the CKM_ECDH1_DERIVE and CKM_ECDH1_COFACTOR_DERIVE key derivation mechanisms, where each party contributes one key pair. The structure is defined as follows:
kdf key derivation function used on the shared secret value
ulSharedDataLen the length in bytes of the shared info
pSharedData some data shared between the two parties
ulPublicDataLen the length in bytes of the other party's EC public key
pPublicData pointer to other party's EC public key value

With the key derivation function CKD_NULL, pSharedData must be NULL and ulSharedDataLen must be zero. With the key derivation function CKD_SHA1_KDF, an optional pSharedData may be supplied, which consists of some data shared by the two parties intending to share the shared secret. Otherwise, pSharedData must be NULL and ulSharedDataLen must be zero.

CK_ECDH1_DERIVE_PARAMS_PTR is a pointer to a CK_ECDH1_DERIVE_PARAMS.

CK_ ECMQV _DERIVE_PARAMS, CK_ ECMQV _DERIVE_PARAMS_PTR

CK_ ECMQV_DERIVE_PARAMS is a structure that provides the parameters to the CKM_ECMQV_DERIVE key derivation mechanism, where each party contributes two key pairs. The structure is defined as follows:


Field Documentation

CK_EC_KDF_TYPE kdf
 

key derivation function used on the shared secret value.

CK_ULONG ulSharedDataLen
 

the length in bytes of the shared info.

CK_BYTE_PTR pSharedData
 

some data shared between the two parties.

CK_ULONG ulPublicDataLen
 

the length in bytes of the other party's EC public key.

CK_BYTE_PTR pPublicData
 

pointer to other party's EC public key value.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v220