Algorithms in Crypto-C

Table 4-6Symmetric Block Ciphers (Continued)

Algorithm Info Type

Description

Padding

BER PEM

AI_MD2WithRC2_CBCPadBER

MD2 digest followed by RC2-CBC,

PKCS #5

a

 

BER-encoded algorithm identifier

 

 

AI_MD5WithDES_CBCPad

MD5 digest followed by DES-CBC

PKCS #5

 

AI_MD5WithDES_CBCPadBER

MD5 digest followed by DES-CBC,

PKCS #5

a

 

BER-encoded algorithm identifier

 

 

AI_MD5WithRC2_CBCPad

MD5 digest followed by RC2-CBC

PKCS #5

 

AI_MD5WithRC2_CBCPadBER

MD5 digest followed by RC2-CBC,

PKCS #5

a

 

BER-encoded algorithm identifier

 

 

AI_MD5WithXOR

MD5 digest followed by XOR for

not

 

 

encryption

needed

 

AI_MD5WithXOR_BER

MD5 digest followed by XOR for

not

a

 

encryption, BER-encoded algorithm

needed

 

 

identifier

 

 

AI_SHA1WithDES_CBCPad

SHA1 digest followed by DES-CBC

PKCS #5

 

AI_SHA1WithDES_CBCPadBER

SHA1 digest followed by DES-CBC,

PKCS #5

a

 

BER-encoded algorithm identifier

 

 

 

 

 

 

Table 4-7RSA Public-Key Cryptography

Algorithm Info Type

Description

Pad

BER PEM

Key Generation

 

 

 

AI_RSAKeyGen

Key generation for RSA key pair

 

 

AI_RSAStrongKeyGen

Key generation for RSA key pair; the

 

 

 

generated moduli are in accordance with

 

 

 

the strength criteria of the FIPS X9.31

 

 

 

standard

 

 

AI_RSAMultiPrimeKeyGen

Key generation for a MultiPrime RSA

 

 

 

public/private key pair in accordance with

 

 

 

PKCS #1

 

 

Encryption and Decryption

 

 

 

AI_PKCS_OAEP_RSAPrivate

RSA private-key encryption/decryption

PKCS #1

 

 

with OAEP in accordance with PKCS #1

v2 OAEP

 

 

 

 

 

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

1 0 7

Page 129
Image 129
RSA Security 5.2.2 manual 7RSA Public-Key Cryptography, Key Generation