RSA Security 5 Projection Television User Manual


 
Chapter 2 Algorithm Info Types 89
AI_FeedbackCipher
The CFB modes require a B_CFB_PARAMS structure:
Note: The initialization vector should be the same size as the block. In particular, the
IV should be 8 bytes, except for the RC5 algorithm implemented with a 64-bit
word, which requires a 16-byte IV, or the RC6 algorithm.
Key info types for keyObject in B_EncryptInit or B_DecryptInit:
Depends on cipher type, as follows:
“ofb”
AM_OFB_DECRYPT;
ITEM
that contains the
initialization vector
“ofb_pipelined”
AM_OFB_PIPELINED_DECRYPT;
ITEM
that contains the
initialization vector
typedef struct {
ITEM ivItem;
unsigned int transferSize;
} B_CFB_PARAMS;
Cipher KIs
DES
KI_Item
,
KI_DES8
,
KI_DES8Strong
,
KI_8Byte
Triple DES
KI_Item
,
KI_DES24Strong
,
KI_24Byte
DESX
KI_Item
,
KI_DES24Strong
,
KI_24Byte
RC2
KI_Item
,
KI_8Byte
RC5
KI_Item
, which gives the address and length of the RC5 Key.
RC6 KI_Item
Table 2-2 Algorithm methods for feedback modes
feedbackMethodName Algorithm methods to include in chooser Parameter Type