RSA Security 5 Projection Television User Manual


 
AI_MD2Random
104 RSA BSAFE Crypto-C Library Reference Manual
AI_MD2Random
Purpose:
This AI allows you to generate a stream of pseudo-random numbers which are
guaranteed to have a very high degree of randomness. Random numbers are used in
deriving public and private keys, initialization vectors, etc. This algorithm is the same
as
AI_MD5Random described in RSA Labs Bulletin #8 except that the underlying digest
algorithm used is MD2 instead of MD5. The details of the
AI_MD5Random algorithm are
available online from RSA Laboratories at
http://www.rsasecurity.com/rsalabs/
bulletins/.
Other algorithms that can be used to generate pseudo-random numbers are
AI_MD5Random and AI_X962Random_V0.
Type of information this allows you to use:
the MD2-Random algorithm for generating pseudo-random numbers, as defined by
RSA Security Inc.
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_RandomInit, B_RandomUpdate, and B_GenerateRandomBytes, and as the
randomAlgorithm
argument to other procedures.
Algorithm methods to include in application’s algorithm chooser:
AM_MD2_RANDOM.