Cryptoki: a cryptographic Token Interface



Download 360.55 Kb.
Page162/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   158   159   160   161   162   163   164   165   ...   196
v201-95
pkcs11-base-v2.40-cos01

11.21.3. SKIPJACK-CBC64


SKIPJACK-CBC64, denoted CKM_SKIPJACK_CBC64, is a mechanism for single- and multiple-part encryption and decryption with SKIPJACK in 64-bit cipher-block chaining mode as defined in FIPS PUB 185.
It has a parameter, a 24-byte initialization vector. During an encryption operation, this IV is set to some value generated by the token—in other words, the application cannot specify a particular IV when encrypting. It can, of course, specify a particular IV when decrypting.
Constraints on key types and the length of data are summarized in the following table:
Table 75, SKIPJACK-CBC64: Data and Length

Function

Key type

Input length

Output length

Comments

C_Encrypt

SKIPJACK

multiple of 8

same as input length

no final part

C_Decrypt

SKIPJACK

multiple of 8

same as input length

no final part

11.21.4. SKIPJACK-OFB64


SKIPJACK-OFB64, denoted CKM_SKIPJACK_OFB64, is a mechanism for single- and multiple-part encryption and decryption with SKIPJACK in 64-bit output feedback mode as defined in FIPS PUB 185.
It has a parameter, a 24-byte initialization vector. During an encryption operation, this IV is set to some value generated by the token—in other words, the application cannot specify a particular IV when encrypting. It can, of course, specify a particular IV when decrypting.
Constraints on key types and the length of data are summarized in the following table:
Table 76, SKIPJACK-OFB64: Data and Length


Download 360.55 Kb.

Share with your friends:
1   ...   158   159   160   161   162   163   164   165   ...   196




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

    Main page