Cryptographic Token Interface Standard

PKCS#11


RC5-MAC

RC5-MAC, denoted by CKM_RC5_MAC, is a special case of the general-length RC5-MAC mechanism. Instead of taking a CK_RC5_MAC_GENERAL_PARAMS parameter, it takes a CK_RC5_PARAMS parameter. RC5-MAC always produces and verifies MACs half as large as the RC5 blocksize.

Constraints on key types and the length of data are summarized in the following table:

Table 84, RC5-MAC: Key And Data Length
Function Key type
Data length
Signature length
C_Sign RC5
any
RC5 wordsize = LOWER(blocksize/2)
C_Verify RC5
any
RC5 wordsize = LOWER(blocksize/2)

For this mechanism, the ulMinKeySize and ulMaxKeySize fields of the CK_MECHANISM_INFO structure specify the supported range of RC5 key sizes, in bytes.


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