summaryrefslogtreecommitdiff
path: root/beecrypt
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-22 18:51:56 +0000
committerjbj <devnull@localhost>2002-06-22 18:51:56 +0000
commit05cb73a7ee762065339393057d421613866e0418 (patch)
tree533b7192c83e882aab90c337d4356735932de7f0 /beecrypt
parentba41c1ccb13a7a27466470e501a0d4f30fddec40 (diff)
downloadrpm-05cb73a7ee762065339393057d421613866e0418.tar.gz
rpm-05cb73a7ee762065339393057d421613866e0418.tar.bz2
rpm-05cb73a7ee762065339393057d421613866e0418.zip
Factor bounds checking annotations into source code.
CVS patchset: 5521 CVS date: 2002/06/22 18:51:56
Diffstat (limited to 'beecrypt')
-rw-r--r--beecrypt/.cvsignore3
-rw-r--r--beecrypt/Makefile.am3
-rw-r--r--beecrypt/dsa.h2
-rw-r--r--beecrypt/sha1.h6
4 files changed, 9 insertions, 5 deletions
diff --git a/beecrypt/.cvsignore b/beecrypt/.cvsignore
index 0451198a1..363e8face 100644
--- a/beecrypt/.cvsignore
+++ b/beecrypt/.cvsignore
@@ -25,9 +25,10 @@ libtool
listobjs
ltconfig
ltmain.sh
-*.o
*.la
+*.lcd
*.lo
+*.o
*.S
stamp-h
stamp-h1
diff --git a/beecrypt/Makefile.am b/beecrypt/Makefile.am
index 1d1a846e5..ae34f0bee 100644
--- a/beecrypt/Makefile.am
+++ b/beecrypt/Makefile.am
@@ -66,6 +66,9 @@ beetest: all
make -C tests beetest
./tests/beetest
+beecrypt.lcd: Makefile.am ${libbeecrypt_la_SOURCES} ${pkginclude_HEADERS} ${noinst_HEADERS}
+ lclint $(DEFS) $(INCLUDES) ${libbeecrypt_la_SOURCES} -dump $@
+
# XXX don't bite into gcj java dependencies (yet)
.PHONY: sources
sources:
diff --git a/beecrypt/dsa.h b/beecrypt/dsa.h
index a804bf199..45e79d4ec 100644
--- a/beecrypt/dsa.h
+++ b/beecrypt/dsa.h
@@ -42,7 +42,7 @@ int dsasign(const mp32barrett* p, const mp32barrett* q, const mp32number* g, ran
/**
*/
-BEECRYPTAPI
+BEECRYPTAPI /*@unused@*/
int dsavrfy(const mp32barrett* p, const mp32barrett* q, const mp32number* g, const mp32number* hm, const mp32number* y, const mp32number* r, const mp32number* s)
/*@*/;
diff --git a/beecrypt/sha1.h b/beecrypt/sha1.h
index 1f04a463e..8705b5b57 100644
--- a/beecrypt/sha1.h
+++ b/beecrypt/sha1.h
@@ -57,19 +57,19 @@ void sha1Process(sha1Param* p)
/** \ingroup HASH_sha1_m
*/
-BEECRYPTAPI
+BEECRYPTAPI /*@unused@*/
int sha1Reset (sha1Param* p)
/*@modifies p */;
/** \ingroup HASH_sha1_m
*/
-BEECRYPTAPI
+BEECRYPTAPI /*@unused@*/
int sha1Update (sha1Param* p, const byte* data, int size)
/*@modifies p */;
/** \ingroup HASH_sha1_m
*/
-BEECRYPTAPI
+BEECRYPTAPI /*@unused@*/
int sha1Digest (sha1Param* p, /*@out@*/ uint32* data)
/*@modifies p, data */;