summaryrefslogtreecommitdiff
path: root/beecrypt/beecrypt.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-23 19:47:08 +0000
committerjbj <devnull@localhost>2002-06-23 19:47:08 +0000
commit13d177beb233e111b3ede3edc1340747433a7556 (patch)
treebbc977014bf90f658b0181792ea42aad52b449d6 /beecrypt/beecrypt.c
parent05cb73a7ee762065339393057d421613866e0418 (diff)
downloadlibrpm-tizen-13d177beb233e111b3ede3edc1340747433a7556.tar.gz
librpm-tizen-13d177beb233e111b3ede3edc1340747433a7556.tar.bz2
librpm-tizen-13d177beb233e111b3ede3edc1340747433a7556.zip
Add boundswrite annotations everywhere.
CVS patchset: 5522 CVS date: 2002/06/23 19:47:08
Diffstat (limited to 'beecrypt/beecrypt.c')
-rw-r--r--beecrypt/beecrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/beecrypt/beecrypt.c b/beecrypt/beecrypt.c
index dfbcafb71..6f304b770 100644
--- a/beecrypt/beecrypt.c
+++ b/beecrypt/beecrypt.c
@@ -392,6 +392,7 @@ int hashFunctionContextUpdateMC(hashFunctionContext* ctxt, const memchunk* m)
return ctxt->algo->update(ctxt->param, m->data, m->size);
}
+/*@-boundswrite@*/
int hashFunctionContextUpdateMP32(hashFunctionContext* ctxt, const mp32number* n)
{
if (ctxt == (hashFunctionContext*) 0)
@@ -427,6 +428,7 @@ int hashFunctionContextUpdateMP32(hashFunctionContext* ctxt, const mp32number* n
}
return -1;
}
+/*@=boundswrite@*/
int hashFunctionContextDigest(hashFunctionContext* ctxt, mp32number* dig)
{
@@ -628,6 +630,7 @@ int keyedHashFunctionContextUpdateMC(keyedHashFunctionContext* ctxt, const memch
return ctxt->algo->update(ctxt->param, m->data, m->size);
}
+/*@-boundswrite@*/
int keyedHashFunctionContextUpdateMP32(keyedHashFunctionContext* ctxt, const mp32number* n)
{
if (ctxt == (keyedHashFunctionContext*) 0)
@@ -663,6 +666,7 @@ int keyedHashFunctionContextUpdateMP32(keyedHashFunctionContext* ctxt, const mp3
}
return -1;
}
+/*@=boundswrite@*/
int keyedHashFunctionContextDigest(keyedHashFunctionContext* ctxt, mp32number* dig)
{