Cryptographic Token Interface Standard

PKCS#11


CK_RC5_CBC_PARAMS Reference

CK_RC5_CBC_PARAMS; CK_RC5_CBC_PARAMS_PTR

CK_RC5_CBC_PARAMS is a structure that provides the parameters to the CKM_RC5_CBC and CKM_RC5_CBC_PAD mechanisms. More...


Data Fields

CK_ULONG ulWordsize
 wordsize of RC5 cipher in bytes. More...

CK_ULONG ulRounds
 number of rounds of RC5 encipherment. More...

CK_BYTE_PTR pIv
 pointer to initialization vector (IV) for CBC encryption. More...

CK_ULONG ulIvLen
 length of initialization vector (must be same as blocksize). More...


Detailed Description

CK_RC5_CBC_PARAMS; CK_RC5_CBC_PARAMS_PTR

CK_RC5_CBC_PARAMS is a structure that provides the parameters to the CKM_RC5_CBC and CKM_RC5_CBC_PAD mechanisms. It is defined as follows:
ulWordsizewordsize of RC5 cipher in bytes
ulRoundsnumber of rounds of RC5 encipherment
pIvpointer to initialization vector (IV) for CBC encryption
ulIvLenlength of initialization vector (must be same as blocksize)

CK_RC5_CBC_PARAMS_PTR is a pointer to a CK_RC5_CBC_PARAMS.

CK_RC5_MAC_GENERAL_PARAMS; CK_RC5_MAC_GENERAL_PARAMS_PTR

CK_RC5_MAC_GENERAL_PARAMS is a structure that provides the parameters to the CKM_RC5_MAC_GENERAL mechanism. It is defined as follows:


Field Documentation

CK_ULONG ulWordsize
 

wordsize of RC5 cipher in bytes.

CK_ULONG ulRounds
 

number of rounds of RC5 encipherment.

CK_BYTE_PTR pIv
 

pointer to initialization vector (IV) for CBC encryption.

CK_ULONG ulIvLen
 

length of initialization vector (must be same as blocksize).


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v201