#include "apr.h"
#include "apr_pools.h"
#include "apr_random.h"
#include "apr_thread_proc.h"
#include <assert.h>
Go to the source code of this file.
|
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
| |
| #define | APR_RANDOM_DEFAULT_POOLS 32 |
| |
| #define | APR_RANDOM_DEFAULT_REHASH_SIZE 1024 |
| |
| #define | APR_RANDOM_DEFAULT_RESEED_SIZE 32 |
| |
| #define | APR_RANDOM_DEFAULT_HASH_SECRET_SIZE 32 |
| |
| #define | APR_RANDOM_DEFAULT_G_FOR_INSECURE 32 |
| |
| #define | APR_RANDOM_DEFAULT_G_FOR_SECURE 320 |
| |
| #define | hash_init(h) (h)->init(h) |
| |
| #define | hash_add(h, b, n) (h)->add(h,b,n) |
| |
| #define | hash_finish(h, r) (h)->finish(h,r) |
| |
| #define | hash(h, r, b, n) hash_init(h),hash_add(h,b,n),hash_finish(h,r) |
| |
| #define | crypt_setkey(c, k) (c)->set_key((c)->data,k) |
| |
| #define | crypt_crypt(c, out, in) (c)->crypt((c)->date,out,in) |
| |
| #define | K_size(g) ((g)->key_hash->size) |
| |
| #define | B_size(g) ((g)->prng_hash->size) |
| |
| #define | H_size(g) (B_size(g)+K_size(g)) |
| |
| #define | H_current(g) |
| |
◆ APR_RANDOM_DEFAULT_G_FOR_INSECURE
| #define APR_RANDOM_DEFAULT_G_FOR_INSECURE 32 |
◆ APR_RANDOM_DEFAULT_G_FOR_SECURE
| #define APR_RANDOM_DEFAULT_G_FOR_SECURE 320 |
◆ APR_RANDOM_DEFAULT_HASH_SECRET_SIZE
| #define APR_RANDOM_DEFAULT_HASH_SECRET_SIZE 32 |
◆ APR_RANDOM_DEFAULT_POOLS
| #define APR_RANDOM_DEFAULT_POOLS 32 |
◆ APR_RANDOM_DEFAULT_REHASH_SIZE
| #define APR_RANDOM_DEFAULT_REHASH_SIZE 1024 |
◆ APR_RANDOM_DEFAULT_RESEED_SIZE
| #define APR_RANDOM_DEFAULT_RESEED_SIZE 32 |
◆ B_size
◆ crypt_crypt
◆ crypt_setkey
◆ H_current
Value: (((
g)->insecure_started && !(
g)->secure_started) \
? (
g)->H_waiting : (
g)->
H)
Definition at line 73 of file apr_random.c.
◆ H_size
◆ hash
◆ hash_add
◆ hash_finish
◆ hash_init
◆ K_size
◆ min
◆ apr_random_pool_t
◆ apr_random_block()
◆ apr_random_bytes()
◆ mix_pid()
◆ mixer()
◆ random_cleanup()
◆ rekey()
◆ all_random