HID® Crescendo® PKCS11
Loading...
Searching...
No Matches
c_random.h File Reference
#include <pkcs11/v2.40/cryptoki.h>
Include dependency graph for c_random.h:

Functions

CK_RV C_GenerateRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pRandomData, CK_ULONG ulRandomLen)
 Generates random or pseudo-random data.
 
CK_RV C_SeedRandom (CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_ULONG ulSeedLen)
 Mixes additional seed material into the token’s random number generator.
 

Function Documentation

◆ C_GenerateRandom()

CK_RV C_GenerateRandom ( CK_SESSION_HANDLE hSession,
CK_BYTE_PTR pRandomData,
CK_ULONG ulRandomLen )

Generates random or pseudo-random data.

Warning
This function is not supported.
Parameters
[in]hSessionis the session's handle.
[out]pRandomDatapoints to the location that receives the random data.
[in]ulRandomLenis the length in bytes of the random or pseudo-random data to be generated.
Returns

◆ C_SeedRandom()

CK_RV C_SeedRandom ( CK_SESSION_HANDLE hSession,
CK_BYTE_PTR pSeed,
CK_ULONG ulSeedLen )

Mixes additional seed material into the token’s random number generator.

Warning
This function is not supported.
Parameters
[in]hSessionis the session's handle.
[in]pSeedpoints to the seed material.
[in]ulSeedLenis the length in bytes of the seed material.
Returns