User's Manual

Chapter 2 Using Intel Hardware With Crypto-C 9
Hardware Availability
make the actual Crypto-C function call during the Crypto-C Init step, for example, as
the chooser argument to
B_RandomInit.
Hardware Availability
When you specify a specific hardware device via a manufacturer-specific AM, such as
HW_INTEL_RANDOM, the application will verify that the hardware is present during the
call to
B_CreateSessionChooser. If the hardware is not present, Crypto-C will return
an error. For some AMs, Crypto-C will default to a software implementation; for
other AMs, such as
AM_HW_RANDOM, there is no corresponding software AM and it is up
to the application designer to decide how to proceed when the hardware is not
present. Where relevant, the code examples for the specific Intel features give
suggestions on how to proceed in the absence of the Intel hardware.