| Cryptographic Token Interface Standard |
PKCS#11
|
CK_X9_42_DH1_DERIVE_PARAMS Reference
CK_X9_42_DH1_DERIVE_PARAMS, CK_X9_42_DH1_DERIVE_PARAMS_PTR
CK_X9_42_DH1_DERIVE_PARAMS is a structure that provides the parameters to the CKM_X9_42_DH_DERIVE key derivation mechanism, where each party contributes one key pair.
More...
Detailed Description
CK_X9_42_DH1_DERIVE_PARAMS, CK_X9_42_DH1_DERIVE_PARAMS_PTR
CK_X9_42_DH1_DERIVE_PARAMS is a structure that provides the parameters to the CKM_X9_42_DH_DERIVE key derivation mechanism, where each party contributes one key pair. The structure is defined as follows: kdf | key derivation function used on the shared secret value |
ulOtherInfoLen | the length in bytes of the other info |
pOtherInfo | some data shared between the two parties |
ulPublicDataLen | the length in bytes of the other party's X9.42 Diffie-Hellman public key |
pPublicData | pointer to other party's X9.42 Diffie-Hellman public key value |
With the key derivation function CKD_NULL, pOtherInfo must be NULL and ulOtherInfoLen must be zero. With the key derivation function CKD_SHA1_KDF_ASN1, pOtherInfo must be supplied, which contains an octet string, specified in ASN.1 DER encoding, consisting of mandatory and optional data shared by the two parties intending to share the shared secret. With the key derivation function CKD_SHA1_KDF_CONCATENATE, an optional pOtherInfo may be supplied, which consists of some data shared by the two parties intending to share the shared secret. Otherwise, pOtherInfo must be NULL and ulOtherInfoLen must be zero.
CK_X9_42_DH1_DERIVE_PARAMS_PTR is a pointer to a CK_X9_42_DH1_DERIVE_PARAMS.
CK_X9_42_DH2_DERIVE_PARAMS is a structure that provides the parameters to the CKM_X9_42_DH_HYBRID_DERIVE and CKM_X9_42_MQV_DERIVE key derivation mechanisms, 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 other info. |
|
some data shared between the two parties. |
|
the length in bytes of the other party's X9.42 Diffie-Hellman public key. |
|
pointer to other party's X9.42 Diffie-Hellman public key value. |
RSA Security Inc. Public-Key Cryptography Standards -
PKCS#11 - v230