
KI_DES_BSAFE1
KI_DES_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 DES 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 DES.
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_DES_BSAFE1, KI_DES8, KI_Item (if the length of the ITEM is 8 and the data’s DES parity is correct), KI_8Byte (if the DES parity is correct), KI_RC2WithBSAFE1Params (if the DES parity of the RC2 key is correct) or KI_RC2_BSAFE1 (if the DES parity of the
2 5 2 | 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 |