cryptlib
3.4.1
|
Go to the source code of this file.
Macros | |
#define | initRandomPolling() |
#define | endRandomPolling() |
#define | waitforRandomCompletion(dummy) CRYPT_OK |
#define | checkForked() FALSE |
#define | addRandomValue(statePtr, value) addRandomLong( statePtr, ( long ) value ) |
Typedefs | |
typedef BYTE | RANDOM_STATE [128] |
Functions | |
void | slowPoll (void) |
void | fastPoll (void) |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2)) int initRandomData(INOUT void *statePtr |
CHECK_RETVAL | IN_BUFFER (maxSize) void *buffer |
CHECK_RETVAL | IN_LENGTH_SHORT_MIN (16) const int maxSize) |
RETVAL | IN_BUFFER (valueLength) const void *value |
RETVAL | STDC_NONNULL_ARG ((1)) int addRandomLong(INOUT void *statePtr |
RETVAL | IN_RANGE (0, 100) const int quality) |
CHECK_RETVAL | IN_BUFFER (length) const void *buffer |
CHECK_RETVAL | IN_RANGE (1, 100) const int quality) |
CHECK_RETVAL | OUT_BUFFER_FIXED (length) void *buffer |
CHECK_RETVAL | IN_RANGE (1, MAX_RANDOM_BYTES) const int length) |
Variables | |
RETVAL IN_LENGTH_SHORT const int | valueLength |
RETVAL const long | value |
CHECK_RETVAL IN_LENGTH const int | length |
CHECK_RETVAL IN_BUFFER | ( | maxSize | ) |
RETVAL IN_BUFFER | ( | valueLength | ) | const |
CHECK_RETVAL IN_BUFFER | ( | length | ) | const |
|
new |
RETVAL IN_RANGE | ( | 0 | , |
100 | |||
) | const |
CHECK_RETVAL IN_RANGE | ( | 1 | , |
100 | |||
) | const |
CHECK_RETVAL IN_RANGE | ( | 1 | , |
MAX_RANDOM_BYTES | |||
) | const |
CHECK_RETVAL OUT_BUFFER_FIXED | ( | length | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2) | ) |
RETVAL STDC_NONNULL_ARG | ( | (1) | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 26 of file ctx_attr.c.
CHECK_RETVAL IN_LENGTH const int length |
RETVAL IN_LENGTH_SHORT const int valueLength |