Algorithms in Crypto-C

Table 4-6Symmetric Block Ciphers (Continued)

Algorithm Info Type

Description

Padding

BER PEM

AI_DESX_CBCPadBER

DESX-CBC, 8-byte IV, BER-encoded

PKCS #5

a

 

algorithm identifier

 

 

AI_DESX_CBC_BSAFE1

DESX-CBC, 8-byte IV, padding optional;

 

 

 

backward compatibility with BSAFE 1.x

 

 

RC2

 

 

 

AI_RC2_CBC

RC2-CBC, 8-byte IV

 

 

AI_RC2_CBCPad

RC2-CBC, 8-byte IV

PKCS #5

 

AI_RC2_CBCPadBER

RC2-CBC, 8-byte IV, BER-encoded

PKCS #5

a

 

algorithm identifier

 

 

AI_RC2_CBCPadPEM

RC2-CBC, 8-byte IV, PEM-encoded

RFC 1423

a

 

algorithm identifier

 

 

AI_RC2_CBC_BSAFE1

RC2-CBC, 8-byte IV, padding optional;

 

 

 

backward compatibility with BSAFE 1.x

 

 

RC5

 

 

 

AI_RC5_CBC

RC5-CBC, 8-byte IV

 

 

AI_RC5_CBCPad

RC5-CBC, 8-byte IV

PKCS #5

 

Initialization Vector

 

 

 

AI_CBC_IV8

Resets the IV in a CBC algorithm during

 

 

 

an Update or a Final for all CBC AIs

 

 

 

except AI_FeedbackCipher

 

 

AI_RESET_IV

Resets the IV in a CBC algorithm during

 

 

 

an Update or a Final for all CBC

 

 

 

implementations of AI_FeedbackCipher

 

 

Password-Based Encryption

These composite algorithms generate a symmetric key by digesting a password with a salt, then using the key for block cipher encryption.

Not all message digests are recommended. See “Message Digests” on page 47 for details.

AI_MD2WithDES_CBCPad

MD2 digest followed by DES-CBC

PKCS #5

 

AI_MD2WithDES_CBCPadBER

MD2 digest followed by DES-CBC,

PKCS #5

a

 

BER-encoded algorithm identifier

 

 

AI_MD2WithRC2_CBCPad

MD2 digest followed by RC2-CBC

PKCS #5

 

 

 

 

 

1 0 6

R S A B S A F E C r y p t o - C D e v e l o p e r ’s G u i d e

Page 128
Image 128
RSA Security 5.2.2 manual Algorithms in Crypto-C 6Symmetric Block Ciphers, RC2