| 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...
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_ECDH2_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
|
key derivation function used on the shared secret value. |
|
the length in bytes of the shared info. |
|
some data shared between the two parties. |
|
the length in bytes of the other party's EC public key. |
|
pointer to other party's EC public key value. |
RSA Security Inc. Public-Key Cryptography Standards -
PKCS#11 - v211