A_SHA_RANDOM_PARAMS

AI_X962Random_V0

Format of info returned by B_GetAlgorithmInfo:

returns a NULL_PTR if set with NULL_PTR; otherwise, returns a pointer to an structure.

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

Notes:

There are a number of possible implementations of SHA1 pseudo-random number generation. AI_X962Random_V0 implements a SHA1 Random generator that is based on X9.62. The FIPS 186 standard defines a similar algorithm (also defined in X9.31), but due to slight differences between FIPS 186 and X9.62, the same seeding sequence will produce different outputs. In addition, AI_X962Random_V0’s implementation of SHA1 Random is substantially different from the implementation in RSA Security Inc.’s Java cryptographic toolkit, Crypto-J.

2 4 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 254
Image 254
RSA Security 5 manual Amsharandom