diff options
author | jbj <devnull@localhost> | 2001-09-23 12:09:48 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-09-23 12:09:48 +0000 |
commit | 0f7777894493527a5672d0ce09c4855e2b69495f (patch) | |
tree | af5511490946ca59d1abc0ae69696437bd73eac8 /beecrypt/fips186.h | |
parent | 1eef0782f60f9d8d80be273ace982ad4c2a56d98 (diff) | |
download | rpm-0f7777894493527a5672d0ce09c4855e2b69495f.tar.gz rpm-0f7777894493527a5672d0ce09c4855e2b69495f.tar.bz2 rpm-0f7777894493527a5672d0ce09c4855e2b69495f.zip |
More lclint annotations, now at the strict level with a complete program.
CVS patchset: 5069
CVS date: 2001/09/23 12:09:48
Diffstat (limited to 'beecrypt/fips186.h')
-rw-r--r-- | beecrypt/fips186.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/beecrypt/fips186.h b/beecrypt/fips186.h index 77428443e..8d77433a7 100644 --- a/beecrypt/fips186.h +++ b/beecrypt/fips186.h @@ -1,7 +1,7 @@ /** \ingroup PRNG_fips186_m DSA_m * \file fips186.h * - * FIPS186 pseudo-random generator, with SHA-1 as H function, header. + * NIST FIPS-186 pseudo-random generator, with SHA-1 as H function, header. */ /* @@ -78,31 +78,39 @@ extern "C" { /** */ -/*@unused@*/ extern BEEDLLAPI const randomGenerator fips186prng; +extern BEEDLLAPI const randomGenerator fips186prng; /** */ +/*@-exportlocal@*/ BEEDLLAPI int fips186Setup (fips186Param* fp) /*@modifies fp */; +/*@=exportlocal@*/ /** */ +/*@-exportlocal@*/ BEEDLLAPI int fips186Seed (fips186Param* fp, const uint32* data, int size) /*@modifies fp */; +/*@=exportlocal@*/ /** */ +/*@-exportlocal@*/ BEEDLLAPI int fips186Next (fips186Param* fp, uint32* data, int size) /*@modifies fp, data */; +/*@=exportlocal@*/ /** */ +/*@-exportlocal@*/ BEEDLLAPI int fips186Cleanup(fips186Param* fp) /*@modifies fp */; +/*@=exportlocal@*/ #ifdef __cplusplus } |