Cryptographic Token Interface Standard |
PKCS#11 |
typedef CK_ULONG CK_RC2_PARAMS;
CK_RC2_PARAMS_PTR is a pointer to a CK_RC2_PARAMS.
typedef struct CK_RC2_CBC_PARAMS { CK_ULONG ulEffectiveBits; CK_BYTE iv[8]; } CK_RC2_CBC_PARAMS;
ulEffectiveBits | the effective number of bits in the RC2 search space |
iv | the initialization vector (IV) for cipher block chaining mode |
CK_RC2_CBC_PARAMS_PTR is a pointer to a CK_RC2_CBC_PARAMS.
typedef struct CK_RC2_MAC_GENERAL_PARAMS { CK_ULONG ulEffectiveBits; CK_ULONG ulMacLength; } CK_RC2_MAC_GENERAL_PARAMS;
ulEffectiveBits | the effective number of bits in the RC2 search space |
ulMacLength | length of the MAC produced, in bytes |
CK_RC2_MAC_GENERAL_PARAMS_PTR is a pointer to a CK_RC2_MAC_GENERAL_PARAMS.