RSA Security 5 Projection Television User Manual


 
AI_MD2
98 RSA BSAFE Crypto-C Library Reference Manual
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.