![]() | Cryptographic Token Interface Standard |
PKCS#11 |
typedef struct CK_KEA_DERIVE_PARAMS { CK_BBOOL isSender; CK_ULONG ulRandomLen; CK_BYTE_PTR pRandomA; CK_BYTE_PTR pRandomB; CK_ULONG ulPublicDataLen; CK_BYTE_PTR pPublicData; } CK_KEA_DERIVE_PARAMS;
isSender | Option for generating the key (called a TEK). The value is CK_TRUE if the sender (originator) generates the TEK, CK_FALSE if the recipient is regenerating the TEK. |
ulRandomLen | size of random Ra and Rb, in bytes |
pRandomA | pointer to Ra data |
pRandomB | pointer to Rb data |
ulPublicDataLen | other party's KEA public key size |
pPublicData | pointer to other party's KEA public key value |
CK_KEA_DERIVE_PARAMS_PTR is a pointer to a CK_KEA_DERIVE_PARAMS.