AI_MD5Random

AI_MD2Random

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 thealgorithm 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.

1 0 4

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 114
Image 114
RSA Security 5 manual AIMD2Random