AI_MD2

AI_MD2

Purpose:

This AI allows you to create a message digest using the MD2 digest algorithm as defined in RFC 1319. This algorithm processes input data 16 bytes at a time, but the length of the input does not have to be a multiple of 16 as the algorithm pads automatically. The primary use for this AI is to authenticate data. Other algorithms that can be used for message digesting are AI_MD5 and AI_SHA1 and their variants. See AI_MD2_BER for the MD2 algorithm type with BER encoding. See AI_MD2_PEM for the MD2 algorithm type with PEM encoding.

Type of information this allows you to use:

the MD2 message digest algorithm as defined in RFC 1319.

Format of info supplied to B_SetAlgorithmInfo:

NULL_PTR.

Format of info returned by B_GetAlgorithmInfo:

NULL_PTR.

Crypto-C procedures to use with algorithm object:

B_DigestInit, B_DigestUpdate, and B_DigestFinal. Supply NULL_PTR for the keyObject argument in B_DigestInit.

Algorithm methods to include in application’s algorithm chooser:

AM_MD2.

Compatible representation:

AI_MD2_BER, AI_MD2_PEM.

9 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 108
Image 108
RSA Security 5 manual AIMD2, MD2 message digest algorithm as defined in RFC