#include "system.h"
#include "beecrypt.h"
#include "fips186.h"
#include "mp32opt.h"
#include "mp32.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
int | fips186init (register sha1Param *p) |
int | fips186Setup (fips186Param *fp) |
int | fips186Seed (fips186Param *fp, const uint32 *data, int size) |
int | fips186Next (fips186Param *fp, uint32 *data, int size) |
int | fips186Cleanup (fips186Param *fp) |
Variables | |
uint32 | fips186hinit [5] = { 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0, 0x67452301 } |
const randomGenerator | fips186prng = { "FIPS 186", sizeof(fips186Param), (const randomGeneratorSetup) fips186Setup, (const randomGeneratorSeed) fips186Seed, (const randomGeneratorNext) fips186Next, (const randomGeneratorCleanup) fips186Cleanup } |
Definition in file fips186.c.
|
|
|
Definition at line 47 of file fips186.c. References fips186hinit, and mp32copy. Referenced by fips186Next. |
|
Definition at line 129 of file fips186.c. References sha1Param::data, fips186Param::digestsize, FIPS186_STATE_SIZE, fips186init, sha1Param::h, mp32addw, mp32addx, mp32copy, fips186Param::param, sha1Process, fips186Param::state, and uint32. |
|
Definition at line 85 of file fips186.c. References FIPS186_STATE_SIZE, mp32addx, fips186Param::state, and uint32. |
|
Definition at line 55 of file fips186.c. References fips186Param::digestsize, entropyGatherNext, FIPS186_STATE_SIZE, and fips186Param::state. |
|
Definition at line 38 of file fips186.c. Referenced by fips186init. |
|
|