Cryptoki: a cryptographic Token Interface



Download 360.55 Kb.
Page154/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   150   151   152   153   154   155   156   157   ...   196
v201-95
pkcs11-base-v2.40-cos01
Function

Key type

Input length

Output length

C_Encrypt

RC5

any

input length rounded up to multiple of blocksize

C_Decrypt

RC5

multiple of blocksize

between 1 and blocksize bytes shorter than input length

C_WrapKey

RC5

any

input length rounded up to multiple of blocksize

C_UnwrapKey

RC5

multiple of blocksize

between 1 and blocksize bytes shorter than input length

11.16.5. 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 Data 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 67, General-length RC2-MAC: Key And Data Length


Download 360.55 Kb.

Share with your friends:
1   ...   150   151   152   153   154   155   156   157   ...   196




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

    Main page