Algorithms in Crypto-C

Table 4-5Symmetric Stream Ciphers

Some stream ciphers include message authentication codes to detect tampering with the data stream.

Algorithm Info Type

Description

BER

MAC

AI_RC4WithMAC

RC4 with message authentication code

 

a

AI_RC4WithMAC_BER

RC4 with message authentication code;

a

a

 

BER-encoded algorithm identifier

 

 

 

 

 

 

Table 4-6Symmetric Block Ciphers

Algorithm Info Type

Description

Padding

BER PEM

General Purpose

 

 

 

AI_FeedbackCipher

DES, Triple DES, DESX, RC2, or RC5 in

 

 

 

ECB, CBC, CFB, or OFB feedback modes

 

 

DES

 

 

 

AI_DES_CBC_IV8

DES-CBC, 8-byte IV

none

 

AI_DES_CBCPadIV8

DES-CBC, 8-byte IV

PKCS #5

 

AI_DES_CBCPadBER

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

PKCS #5

a

 

algorithm identifier

 

 

AI_DES_CBCPadPEM

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

RFC 1423

a

 

algorithm identifier

 

 

AI_DES_CBC_BSAFE1

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

 

 

 

backward compatibility with BSAFE 1.x

 

 

Triple DES

All 3DES algorithms in Crypto-C use the encrypt-decrypt-encrypt (EDE) sequence.

AI_DES_EDE3_CBC_IV8

3DES-CBC

 

 

AI_DES_EDE3_CBCPadIV8

3DES-CBC, 8-byte IV

PKCS #5

 

AI_DES_EDE3_CBCPadBER

3DES-CBC, 8-byte IV, BER-encoded

PKCS #5

a

 

algorithm identifier

 

 

DESX

 

 

 

AI_DESX_CBC_IV8

DESX-CBC, 8-byte IV

 

 

AI_DESX_CBCPadIV8

DESX-CBC, 8-byte IV

PKCS #5

 

 

 

 

 

C h a p t e r 4 U s i n g C r y p t o - C

1 0 5

Page 127
Image 127
RSA Security 5.2.2 manual Algorithms in Crypto-C 5Symmetric Stream Ciphers, 6Symmetric Block Ciphers