AI_FeedbackCipher

A_RC6_PARAMS structure:

typedef struct

{

 

unsigned int

rounds;

/* number of rounds (20) */

} A_RC6_PARAMS;

 

 

 

 

 

Note: The A_RC6_PARAMS structure requires a parameter specifying the number of rounds. Currently, Crypto-C accepts only 20. Future versions may accept other round counts.

Table 2-2Algorithm methods for feedback modes

feedbackMethodName

Algorithm methods to include in chooser

Parameter Type

Encryption

 

 

“cbc”

AM_CBC_ENCRYPT;

ITEM that contains the

 

 

initialization vector

“cbc_interleaved”

AM_CBC_INTER_LEAVED_ENCRYPT;

ITEM that contains the

 

 

initialization vector

“cfb”

AM_CFB_ENCRYPT;

B_CFB_PARAMS

“cfb_pipelined”

AM_CFB_PIPELINED_ENCRYPT;

B_CFB_PARAMS

“ecb”

AM_ECB_ENCRYPT;

unsigned int that gives

 

 

the block length

“ofb”

AM_OFB_ENCRYPT;

ITEM that contains the

 

 

initialization vector

“ofb_pipelined”

AM_OFB_PIPELINED_ENCRYPT;

ITEM that contains the

 

 

initialization vector

Decryption

 

 

“cbc”

AM_CBC_DECRYPT;

ITEM that contains the

 

 

initialization vector

“cbc_interleaved”

AM_CBC_INTER_LEAVED_DECRYPT;

ITEM that contains the

 

 

initialization vector

“cfb”

AM_CFB_DECRYPT;

B_CFB_PARAMS

“cfb_pipelined”

AM_CFB_PIPELINED_DECRYPT;

B_CFB_PARAMS

“ecb”

AM_ECB_DECRYPT;

unsigned int that gives

 

 

the block length

 

 

 

8 8

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 98
Image 98
RSA Security 5 manual 2Algorithm methods for feedback modes