Cryptoki: a cryptographic Token Interface



Download 360.55 Kb.
Page164/196
Date22.12.2023
Size360.55 Kb.
#63026
1   ...   160   161   162   163   164   165   166   167   ...   196
v201-95
pkcs11-base-v2.40-cos01
Function

Key type

Input length

Output length

Comments

C_Encrypt

SKIPJACK

multiple of 4

same as input length

no final part

C_Decrypt

SKIPJACK

multiple of 4

same as input length

no final part

11.21.9. SKIPJACK-WRAP


The SKIPJACK-WRAP mechanism, denoted CKM_SKIPJACK_WRAP, is used to wrap and unwrap a secret key (MEK). It can wrap or unwrap SKIPJACK, BATON, and JUNIPER keys.
It does not have a parameter.

11.21.10. SKIPJACK-PRIVATE-WRAP


The SKIPJACK-PRIVATE-WRAP mechanism, denoted CKM_SKIPJACK_PRIVATE_WRAP, is used to wrap and unwrap a private key. It can wrap KEA and DSA private keys.
It has a parameter, a CK_SKIPJACK_PRIVATE_WRAP_PARAMS structure.

11.21.11. SKIPJACK-RELAYX


The SKIPJACK-RELAYX mechanism, denoted CKM_SKIPJACK_RELAYX, is used with the C_WrapKey function to “change the wrapping” on a private key which was wrapped with the SKIPJACK-PRIVATE-WRAP mechanism (see Section ).
It has a parameter, a CK_SKIPJACK_RELAYX_PARAMS structure.
Although the SKIPJACK-RELAYX mechanism is used with C_WrapKey, it differs from other key-wrapping mechanisms. Other key-wrapping mechanisms take a key handle as one of the arguments to C_WrapKey; however, for the SKIPJACK_RELAYX mechanism, the [always invalid] value 0 should be passed as the key handle for C_WrapKey, and the already-wrapped key should be passed in as part of the CK_SKIPJACK_RELAYX_PARAMS structure.

Download 360.55 Kb.

Share with your friends:
1   ...   160   161   162   163   164   165   166   167   ...   196




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

    Main page