Cryptoki: a cryptographic Token Interface


General-length general block cipher MAC



Download 360.55 Kb.
Page158/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   154   155   156   157   158   159   160   161   ...   196
v201-95
pkcs11-base-v2.40-cos01

11.18.5. General-length general block cipher MAC


Cipher has a general-length MACing mode, “General-length -MAC”, denoted CKM__MAC_GENERAL. It is a mechanism for single- and multiple-part signatures and verification.
It has a parameter, a CK_MAC_GENERAL_PARAMS, which specifies the size of the output.
The output bytes from this mechanism are taken from the start of the final cipher block produced in the MACing process.
Constraints on key types and the length of input and output data are summarized in the following table:
Table 72, General-length General Block Cipher MAC: Key And Data Length

Function

Key type

Data length

Signature length

C_Sign



any

0-blocksize, depending on parameters

C_Verify



any

0-blocksize, depending on parameters

11.18.6. General block cipher MAC


Cipher has a MACing mechanism, “-MAC”, denoted CKM__MAC. This mechanism is a special case of the CKM__MAC_GENERAL mechanism described in Section . It always produces an output of size half as large as ’s blocksize.
This mechanism has no parameters.
Constraints on key types and the length of data are summarized in the following table:
Table 73, General Block Cipher MAC: Key And Data Length


Download 360.55 Kb.

Share with your friends:
1   ...   154   155   156   157   158   159   160   161   ...   196




The database is protected by copyright ©ininet.org 2024
send message

    Main page