Apache HTTPD
Macros | Typedefs | Functions | Variables
testsiphash.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "apr_siphash.h"
#include "abts.h"
#include "testutil.h"

Go to the source code of this file.

Macros

#define crypto_auth   apr_siphash24_auth
 
#define MAXLEN   64
 

Typedefs

typedef unsigned char u8
 

Functions

static int test_vectors (void)
 
static void test_siphash_vectors (abts_case *tc, void *data)
 
abts_suitetestsiphash (abts_suite *suite)
 

Variables

static const u8 vectors [64][8]
 

Macro Definition Documentation

◆ crypto_auth

#define crypto_auth   apr_siphash24_auth

Definition at line 30 of file testsiphash.c.

◆ MAXLEN

#define MAXLEN   64

Definition at line 32 of file testsiphash.c.

Typedef Documentation

◆ u8

Definition at line 29 of file testsiphash.c.

Function Documentation

◆ test_siphash_vectors()

static void test_siphash_vectors ( abts_case tc,
void *  data 
)
static

Definition at line 136 of file testsiphash.c.

◆ test_vectors()

static int test_vectors ( void  )
static

Definition at line 113 of file testsiphash.c.

◆ testsiphash()

abts_suite * testsiphash ( abts_suite suite)

Definition at line 141 of file testsiphash.c.

Variable Documentation

◆ vectors

const u8 vectors[64][8]
static

Definition at line 45 of file testsiphash.c.