A SERVICE OF

logo

Chapter 2 Algorithm Info Types 93
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.