|
Apache HTTPD
|
#include "apr_general.h"#include "apr_pools.h"#include "apr_random.h"#include "apr_thread_proc.h"#include <stdio.h>#include <stdlib.h>#include "testutil.h"Go to the source code of this file.
Macros | |
| #define | RANDOM_BUF_SZ 128 |
Typedefs | |
| typedef apr_status_t APR_THREAD_FUNC | rnd_fn(apr_random_t *r, void *b, apr_size_t n) |
Functions | |
| static void | hexdump (const char *msg, const unsigned char *b, int n) |
| static void | rand_run_kat (abts_case *tc, rnd_fn *f, apr_random_t *r, const unsigned char expected[128]) |
| static void | rand_add_zeroes (apr_random_t *r) |
| static void | rand_run_seed_short (abts_case *tc, rnd_fn *f, apr_random_t *r, int count) |
| static void | rand_seed_short (abts_case *tc, void *data) |
| static void | rand_kat (abts_case *tc, void *data) |
| static void | rand_seed_short2 (abts_case *tc, void *data) |
| static void | rand_kat2 (abts_case *tc, void *data) |
| static void | rand_barrier (abts_case *tc, void *data) |
| static void | rand_kat3 (abts_case *tc, void *data) |
| static void | rand_kat4 (abts_case *tc, void *data) |
| static void | rand_exists (abts_case *tc, void *data) |
| abts_suite * | testrand (abts_suite *suite) |
Variables | |
| static apr_random_t * | r |
| #define RANDOM_BUF_SZ 128 |
Definition at line 25 of file testrand.c.
| typedef apr_status_t APR_THREAD_FUNC rnd_fn(apr_random_t *r, void *b, apr_size_t n) |
Definition at line 50 of file testrand.c.
Definition at line 27 of file testrand.c.
|
static |
Definition at line 99 of file testrand.c.
Definition at line 180 of file testrand.c.
Definition at line 327 of file testrand.c.
Definition at line 125 of file testrand.c.
Definition at line 155 of file testrand.c.
Definition at line 186 of file testrand.c.
Definition at line 210 of file testrand.c.
|
static |
Definition at line 53 of file testrand.c.
|
static |
Definition at line 106 of file testrand.c.
Definition at line 119 of file testrand.c.
Definition at line 150 of file testrand.c.
| abts_suite * testrand | ( | abts_suite * | suite | ) |
Definition at line 342 of file testrand.c.
|
static |
Definition at line 48 of file testrand.c.