common

Common code shared between core sub-components. More...

Modules

 math
 Math Primitives and Group Operations.
 
 errors
 Error reporting interface.
 
 fileparser
 Parser for issuer material.
 
 print_utils
 Debug print routines.
 
 types
 SDK data types.
 

Typedefs

typedef int(__STDCALL * BitSupplier) (unsigned int *rand_data, int num_bits, void *user_data)
 Generates random data. More...
 

Detailed Description

Common code shared between core sub-components.

Constants, utility functions, and libraries that are used widely in the implementation or definition of APIs and samples.

Typedef Documentation

typedef int(__STDCALL* BitSupplier) (unsigned int *rand_data, int num_bits, void *user_data)

Generates random data.

It is the responsibility of the caller of the SDK interfaces to implement a function of this prototype and to then pass a pointer to this function into methods that require it.

Parameters
[out]rand_datadestination buffer
[in]num_bitssize of rand_data in bits
[in]user_datauser data passed through from api call.
Returns
zero on success and non-zero value on error.