AI_HW_Random

AI_HW_Random

Purpose:

This AI allows you to generate random bytes using a hardware device.

Type of information this allows you to use:

random bytes generated by your hardware device.

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 and B_GenerateRandomBytes, and as the randomAlgorithm argument to

other procedures.

Algorithm methods to include in application’s algorithm chooser:

AM_HW_RANDOM.

Notes:

Can only be used in conjunction with a hardware implementation. AM_HW_RANDOM can only be used if you have called B_CreateSessionChooser for your application. For an example of a hardware implementation using AM_HW_RANDOM, see the Intel Security Hardware User’s Guide, available on the Crypto-C CD.

C h a p t e r 2 A l g o r i t h m I n f o Ty p e s

93

Page 103
Image 103
RSA Security 5 manual AIHWRandom, Random bytes generated by your hardware device, Other procedures