RSA Security 5 manual Decryption, KIItem that gives the password

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 116
Image 116

AI_MD2WithDES_CBCPad

Crypto-C procedures to use with algorithm object:

B_EncryptInit, B_EncryptUpdate, B_EncryptFinal, B_DecryptInit,

B_DecryptUpdate, and B_DecryptFinal. You may pass (B_ALGORITHM_OBJ)NULL_PTR for all randomAlgorithm arguments.

Algorithm methods to include in application’s algorithm chooser:

AM_MD2 and AM_DES_CBC_ENCRYPT for encryption or AM_DES_CBC_DECRYPT for

decryption.

Key info types for keyObject in B_EncryptInit or B_DecryptInit:

KI_Item that gives the password.

Compatible representation:

AI_MD2WithDES_CBCPadBER.

Output considerations:

During encryption, this AI pads the output (which DES requires to be a multiple of 8 bytes long). Thus, the total number of output bytes from encryption can be as many as 8 bytes more than the total input.

1 0 6

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 116
Image 116
RSA Security 5 manual Decryption, KIItem that gives the password