Cryptographic Token Interface Standard |
PKCS#11 |
AES-MAC, denoted by CKM_AES_MAC, is a special case of the general-length AES-MAC mechanism (see Section 12.19.4). AES-MAC always produces and verifies MACs that are half the block size in length.
It does not have a parameter.
Constraints on key types and the length of data are summarized in the following table:
Table 96, AES-MAC: Key And Data Length
Function | Key type | ||
C_Sign | AES | ||
C_Verify | AES |
For this mechanism, the ulMinKeySize and ulMaxKeySize fields of the CK_MECHANISM_INFO structure specify the supported range of AES key sizes, in bytes.