KI_Item
KI_Item
Purpose:
This KI allows you to specify a generic keying material of any length. It may be used to hold a secret key of a symmetric encryption algorithm, a key of a keyed hash algorithm, a password object, etc.
Type of information this allows you to use:
a
Format of info supplied to B_SetKeyInfo:
pointer to an ITEM structure:
typedef struct { unsigned char *data; unsigned int len;
}ITEM;
where data is the address of the unsigned byte array and len is its length.
Format of info returned by B_GetKeyInfo:
pointer to an ITEM structure (see above)
Can get this info type if key object already has:
KI_Item, KI_8Byte, KI_24Byte, KI_DES8, KI_DES8Strong, or KI_DESX.
C h a p t e r 3 K e y I n f o Ty p e s | 273 |