summaryrefslogtreecommitdiff
path: root/beecrypt/fips186.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-20 20:16:11 +0000
committerjbj <devnull@localhost>2001-09-20 20:16:11 +0000
commit127af901c36a384da5bd12536fcc3c03d7cb5ef8 (patch)
tree93f25b6f6a577de51eb70c1cc309d1d05b70af98 /beecrypt/fips186.h
parentfcc1f6571c7d61b839e3d092b29940bf739c4f4c (diff)
downloadrpm-127af901c36a384da5bd12536fcc3c03d7cb5ef8.tar.gz
rpm-127af901c36a384da5bd12536fcc3c03d7cb5ef8.tar.bz2
rpm-127af901c36a384da5bd12536fcc3c03d7cb5ef8.zip
Doxygen fiddles.
CVS patchset: 5065 CVS date: 2001/09/20 20:16:11
Diffstat (limited to 'beecrypt/fips186.h')
-rw-r--r--beecrypt/fips186.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/beecrypt/fips186.h b/beecrypt/fips186.h
index ce894b8d1..77428443e 100644
--- a/beecrypt/fips186.h
+++ b/beecrypt/fips186.h
@@ -1,8 +1,10 @@
-/*
- * fips186.h
- *
- * FIPS186 pseudo-random generator, with SHA-1 as H function, header
+/** \ingroup PRNG_fips186_m DSA_m
+ * \file fips186.h
*
+ * FIPS186 pseudo-random generator, with SHA-1 as H function, header.
+ */
+
+/*
* Copyright (c) 1998, 1999, 2000, 2001 Virtual Unlimited B.V.
*
* Author: Bob Deblier <bob@virtualunlimited.com>
@@ -48,6 +50,8 @@
#define FIPS186_STATE_SIZE 16
+/**
+ */
typedef struct
{
#ifdef _REENTRANT
@@ -72,17 +76,30 @@ typedef struct
extern "C" {
#endif
+/**
+ */
/*@unused@*/ extern BEEDLLAPI const randomGenerator fips186prng;
+/**
+ */
BEEDLLAPI
int fips186Setup (fips186Param* fp)
/*@modifies fp */;
+
+/**
+ */
BEEDLLAPI
int fips186Seed (fips186Param* fp, const uint32* data, int size)
/*@modifies fp */;
+
+/**
+ */
BEEDLLAPI
int fips186Next (fips186Param* fp, uint32* data, int size)
/*@modifies fp, data */;
+
+/**
+ */
BEEDLLAPI
int fips186Cleanup(fips186Param* fp)
/*@modifies fp */;