Cryptoki: a cryptographic Token Interface



Download 360.55 Kb.
Page161/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   157   158   159   160   161   162   163   164   ...   196
v201-95
pkcs11-base-v2.40-cos01
CK_SKIPJACK_RELAYX_PARAMS_PTR is a pointer to a CK_SKIPJACK_RELAYX_PARAMS.

11.21. SKIPJACK mechanisms

11.21.1. SKIPJACK key generation


The SKIPJACK key generation mechanism, denoted CKM_SKIPJACK_KEY_GEN, is a key generation mechanism for SKIPJACK. The output of this mechanism is called a Message Encryption Key (MEK).
It does not have a parameter.
The mechanism contributes the CKA_CLASS, CKA_KEY_TYPE, and CKA_VALUE attributes to the new key.

11.21.2. SKIPJACK-ECB64


SKIPJACK-ECB64, denoted CKM_SKIPJACK_ECB64, is a mechanism for single- and multiple-part encryption and decryption with SKIPJACK in 64-bit electronic codebook 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 74, SKIPJACK-ECB64: 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

Download 360.55 Kb.

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




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

    Main page