summaryrefslogtreecommitdiff
path: root/beecrypt/sha256.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-09-23 12:09:48 +0000
committerjbj <devnull@localhost>2001-09-23 12:09:48 +0000
commit0f7777894493527a5672d0ce09c4855e2b69495f (patch)
treeaf5511490946ca59d1abc0ae69696437bd73eac8 /beecrypt/sha256.h
parent1eef0782f60f9d8d80be273ace982ad4c2a56d98 (diff)
downloadlibrpm-tizen-0f7777894493527a5672d0ce09c4855e2b69495f.tar.gz
librpm-tizen-0f7777894493527a5672d0ce09c4855e2b69495f.tar.bz2
librpm-tizen-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/sha256.h')
-rw-r--r--beecrypt/sha256.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/beecrypt/sha256.h b/beecrypt/sha256.h
index 9aaaf8ed5..637ba3339 100644
--- a/beecrypt/sha256.h
+++ b/beecrypt/sha256.h
@@ -46,13 +46,15 @@ extern "C" {
/** \ingroup HASH_sha256_m
*/
-extern BEEDLLAPI const hashFunction sha256;
+/*@observer@*/ /*@checkedstrict@*/ extern BEEDLLAPI const hashFunction sha256;
/** \ingroup HASH_sha256_m
*/
+/*@-exportlocal@*/
BEEDLLAPI
void sha256Process(sha256Param* p)
- /*@modifies p @*/;
+ /*@modifies p, internalState @*/;
+/*@=exportlocal@*/
/** \ingroup HASH_sha256_m
*/
@@ -69,7 +71,7 @@ int sha256Update (sha256Param* p, const byte* data, int size)
/** \ingroup HASH_sha256_m
*/
BEEDLLAPI
-int sha256Digest (sha256Param* p, uint32* data)
+int sha256Digest (sha256Param* p, /*@out@*/ uint32* data)
/*@modifies p, data @*/;
#ifdef __cplusplus