RSA Security 5 manual KIDES8Strong

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 260
Image 260
KI_8Byte
KI_DES8.

KI_DES8Strong

KI_DES8Strong

Purpose:

This KI allows you to specify an 8-byte key used by the DES algorithm. The key object will satisfy the DES parity requirement and will be checked against known DES weak keys. Also see

Type of information this allows you to use:

an 8-byte value for a DES key where the information stored in the key object will be DES parity adjusted according to FIPS 46-1. Crypto-C treats the least significant bit of each byte of the key data as the DES parity adjustment bit. When setting a key object with this KI, Crypto-C will check the input data against a list of known DES weak keys. If the resulting key would be weak, Crypto-C returns an error.

Format of info supplied to B_SetKeyInfo:

pointer to an unsigned char array that holds the 8-byte DES key. The key is DES parity adjusted when it is copied to the key object.

Format of info returned by B_GetKeyInfo:

pointer to an unsigned char array that holds the 8-byte DES key, which is DES parity adjusted.

Can get this info type if key object already has:

KI_DES8Strong, KI_DES8 (if the key is not weak), KI_Item (if the length of the ITEM is

8, the data's DES parity is correct, and the key is not weak), or (if the DES parity is correct and the key is not weak.

2 5 0

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 260
Image 260
RSA Security 5 manual KIDES8Strong