Cryptographic Token Interface Standard |
PKCS#11 |
typedef struct CK_SKIPJACK_PRIVATE_WRAP_PARAMS { CK_ULONG ulPasswordLen; CK_BYTE_PTR pPassword; CK_ULONG ulPublicDataLen; CK_BYTE_PTR pPublicData; CK_ULONG ulPandGLen; CK_ULONG ulQLen; CK_ULONG ulRandomLen; CK_BYTE_PTR pRandomA; CK_BYTE_PTR pPrimeP; CK_BYTE_PTR pBaseG; CK_BYTE_PTR pSubprimeQ; } CK_SKIPJACK_PRIVATE_WRAP_PARAMS;
ulPasswordLen | length of the password |
pPassword | pointer to the buffer which contains the user-supplied password |
ulPublicDataLen | other party's key exchange public key size |
pPublicData | pointer to other party's key exchange public key value |
ulPandGLen | length of prime and base values |
ulQLen | length of subprime value |
ulRandomLen | size of random Ra, in bytes |
pRandomA | pointer to Ra data |
pPrimeP | pointer to Prime, p, value |
pBaseG | pointer to Base, g, value |
pSubprimeQ | pointer to Subprime, q, value |
CK_SKIPJACK_PRIVATE_WRAP_PARAMS_PTR is a pointer to a CK_PRIVATE_WRAP_PARAMS.
typedef struct CK_SKIPJACK_RELAYX_PARAMS { CK_ULONG ulOldWrappedXLen; CK_BYTE_PTR pOldWrappedX; CK_ULONG ulOldPasswordLen; CK_BYTE_PTR pOldPassword; CK_ULONG ulOldPublicDataLen; CK_BYTE_PTR pOldPublicData; CK_ULONG ulOldRandomLen; CK_BYTE_PTR pOldRandomA; CK_ULONG ulNewPasswordLen; CK_BYTE_PTR pNewPassword; CK_ULONG ulNewPublicDataLen; CK_BYTE_PTR pNewPublicData; CK_ULONG ulNewRandomLen; CK_BYTE_PTR pNewRandomA; } CK_SKIPJACK_RELAYX_PARAMS;
ulOldWrappedXLen | length of old wrapped key in bytes |
pOldWrappedX | pointer to old wrapper key |
ulOldPasswordLen | length of the old password |
pOldPassword | pointer to the buffer which contains the old user-supplied password |
ulOldPublicDataLen | old key exchange public key size |
pOldPublicData | pointer to old key exchange public key value |
ulOldRandomLen | size of old random Ra in bytes |
pOldRandomA | pointer to old Ra data |
ulNewPasswordLen | length of the new password |
pNewPassword | pointer to the buffer which contains the new user-supplied password |
ulNewPublicDataLen | new key exchange public key size |
pNewPublicData | pointer to new key exchange public key value |
ulNewRandomLen | size of new random Ra in bytes |
pNewRandomA | pointer to new Ra data |
CK_SKIPJACK_RELAYX_PARAMS_PTR is a pointer to a CK_SKIPJACK_RELAYX_PARAMS.