KI_DESX_BSAFE1

KI_DESX_BSAFE1

Purpose:

Deprecated. This type is included only for backward compatibility.

Type of information this allows you to use:

the BSAFE 1.x encoding of a DESX key.

Format of info supplied to B_SetKeyInfo:

pointer to an ITEM structure that gives the address and length of the BSAFE 1.x encoding. B_SetKeyInfo returns BE_WRONG_KEY_INFO if the encoding specifies a secret key for an algorithm other than DESX.

Format of info returned by B_GetKeyInfo:

pointer to an ITEM structure that gives the address and length of the BSAFE 1.x encoding.

Can get this info type if key object already has:

KI_DESX_BSAFE1 or KI_DESX (if the output whitener is the MAC of the key and the input whitener).

2 5 4

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 264
Image 264
RSA Security 5 manual KIDESXBSAFE1, Bsafe 1.x encoding of a Desx key