Cryptographic Token Interface Standard

PKCS#11


General-length RC5-MAC

General-length RC5-MAC, denoted CKM_RC5_MAC_GENERAL, is a mechanism for single- and multiple-part signatures and verification, based on RSA Security's block cipher RC5 and data authentication as defined in FIPS PUB 113.

It has a parameter, a CK_RC5_MAC_GENERAL_PARAMS structure, which specifies the wordsize and number of rounds of encryption to use and the output length desired from the mechanism.

The output bytes from this mechanism are taken from the start of the final RC5 cipher block produced in the MACing process.

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

Table 83, General-length RC2-MAC: Key And Data Length
Function Key type
Data length
Signature length
C_Sign RC5
any
0-blocksize, as specified in parameters
C_Verify RC5
any
0-blocksize, as specified in parameters

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