PKCS #11 Other Mechanisms V2.30: Cryptoki

PKCS #11 Other Mechanisms V2.30: Cryptoki

PKCS #11 Other Mechanisms v2.30: Cryptoki RSA Laboratories 16 April 2009 Table of Contents 1 INTRODUCTION............................................................................................................................... 7 2 SCOPE ................................................................................................................................................. 7 3 REFERENCES.................................................................................................................................... 7 4 DEFINITIONS .................................................................................................................................. 11 5 GENERAL OVERVIEW ................................................................................................................. 12 5.1 INTRODUCTION........................................................................................................................... 12 6 MECHANISMS ................................................................................................................................ 12 6.1.1 FORTEZZA timestamp.......................................................................................................... 15 6.2 KEA........................................................................................................................................... 16 6.2.1 Definitions ............................................................................................................................ 16 6.2.2 KEA mechanism parameters................................................................................................. 16 CK_KEA_DERIVE_PARAMS; CK_KEA_DERIVE_PARAMS_PTR ........................................ 16 6.2.3 KEA public key objects......................................................................................................... 17 6.2.4 KEA private key objects........................................................................................................ 18 6.2.5 KEA key pair generation ...................................................................................................... 19 6.2.6 KEA key derivation............................................................................................................... 19 6.3 RC2............................................................................................................................................ 21 6.3.1 Definitions ............................................................................................................................ 21 6.3.2 RC2 secret key objects.......................................................................................................... 22 6.3.3 RC2 mechanism parameters ................................................................................................. 22 CK_RC2_PARAMS; CK_RC2_PARAMS_PTR......................................................................... 22 CK_RC2_CBC_PARAMS; CK_RC2_CBC_PARAMS_PTR ..................................................... 23 CK_RC2_MAC_GENERAL_PARAMS; CK_RC2_MAC_GENERAL_PARAMS_PTR ............. 23 6.3.4 RC2 key generation .............................................................................................................. 23 6.3.5 RC2-ECB .............................................................................................................................. 24 6.3.6 RC2-CBC.............................................................................................................................. 25 6.3.7 RC2-CBC with PKCS padding ............................................................................................. 26 6.3.8 General-length RC2-MAC.................................................................................................... 27 6.3.9 RC2-MAC ............................................................................................................................. 28 6.4 RC4............................................................................................................................................ 28 6.4.1 Definitions ............................................................................................................................ 28 6.4.2 RC4 secret key objects.......................................................................................................... 29 6.4.3 RC4 key generation .............................................................................................................. 29 6.4.4 RC4 mechanism .................................................................................................................... 30 Copyright 1994-2009 RSA Security Inc. License to copy this document is granted provided that it is identified as “RSA Security Inc. Public-Key Cryptography Standards (PKCS)” in all material mentioning or referencing this document. ii PKCS #11 OTHER MECHANISMS V2.30: CRYPTOKI 6.5 RC5............................................................................................................................................ 30 6.5.1 Definitions ............................................................................................................................ 30 6.5.2 RC5 secret key objects.......................................................................................................... 31 6.5.3 RC5 mechanism parameters ................................................................................................. 31 CK_RC5_PARAMS; CK_RC5_PARAMS_PTR......................................................................... 31 CK_RC5_CBC_PARAMS; CK_RC5_CBC_PARAMS_PTR ..................................................... 32 CK_RC5_MAC_GENERAL_PARAMS; CK_RC5_MAC_GENERAL_PARAMS_PTR ............. 32 6.5.4 RC5 key generation .............................................................................................................. 33 6.5.5 RC5-ECB .............................................................................................................................. 33 6.5.6 RC5-CBC.............................................................................................................................. 34 6.5.7 RC5-CBC with PKCS padding ............................................................................................. 35 6.5.8 General-length RC5-MAC.................................................................................................... 36 6.5.9 RC5-MAC ............................................................................................................................. 37 6.6 GENERAL BLOCK CIPHER ............................................................................................................ 37 6.6.1 Definitions ............................................................................................................................ 37 6.6.2 DES secret key objects.......................................................................................................... 39 6.6.3 CAST secret key objects........................................................................................................ 40 6.6.4 CAST3 secret key objects...................................................................................................... 40 6.6.5 CAST128 (CAST5) secret key objects................................................................................... 41 6.6.6 IDEA secret key objects........................................................................................................ 42 6.6.7 CDMF secret key objects...................................................................................................... 42 6.6.8 General block cipher mechanism parameters ...................................................................... 43 CK_MAC_GENERAL_PARAMS; CK_MAC_GENERAL_PARAMS_PTR ............................... 43 6.6.9 General block cipher key generation.................................................................................... 43 6.6.10 General block cipher ECB............................................................................................... 44 6.6.11 General block cipher CBC............................................................................................... 45 6.6.12 General block cipher CBC with PKCS padding .............................................................. 46 6.6.13 General-length general block cipher MAC...................................................................... 47 6.6.14 General block cipher MAC .............................................................................................. 48 6.7 SKIPJACK ................................................................................................................................ 49 6.7.1 Definitions ............................................................................................................................ 49 6.7.2 SKIPJACK secret key objects ............................................................................................... 49 6.7.3 SKIPJACK Mechanism parameters...................................................................................... 51 CK_SKIPJACK_PRIVATE_WRAP_PARAMS; CK_SKIPJACK_PRIVATE_WRAP_PARAMS_PTR........................................................................... 51 CK_SKIPJACK_RELAYX_PARAMS; CK_SKIPJACK_RELAYX_PARAMS_PTR ................... 52 6.7.4 SKIPJACK key generation...................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    87 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us