From: jbj Date: Sat, 17 May 2003 18:13:56 +0000 (+0000) Subject: Spliddles and diddles. X-Git-Tag: rpm-4.4-release~509 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb3f3b2e978f4cd8035dc99475460fcbbbd0965e;p=platform%2Fupstream%2Frpm.git Spliddles and diddles. CVS patchset: 6855 CVS date: 2003/05/17 18:13:56 --- diff --git a/beecrypt/beecrypt.api.h b/beecrypt/beecrypt.api.h index 6dcea45..22ac585 100644 --- a/beecrypt/beecrypt.api.h +++ b/beecrypt/beecrypt.api.h @@ -80,12 +80,16 @@ static inline uint32_t _rotr32(uint32_t x, const unsigned char n) typedef uint8_t byte; +/*@-typeuse@*/ typedef int8_t javabyte; typedef int16_t javashort; typedef int32_t javaint; +/*@=typeuse@*/ typedef int64_t javalong; +/*@-typeuse@*/ typedef uint16_t javachar; +/*@=typeuse@*/ #if (MP_WBITS == 64) typedef uint64_t mpw; @@ -96,7 +100,9 @@ typedef uint32_t mphw; typedef uint64_t mpdw; # endif typedef uint32_t mpw; +/*@-typeuse@*/ typedef uint16_t mphw; +/*@=typeuse@*/ #else # error #endif diff --git a/beecrypt/md5.h b/beecrypt/md5.h index 0baebd2..40dcf41 100644 --- a/beecrypt/md5.h +++ b/beecrypt/md5.h @@ -91,7 +91,7 @@ int md5Update (md5Param* mp, const byte* data, size_t size) /** \ingroup HASH_md5_m * This function finishes the current hash computation, returning the digest * value in \a digest. - * @param sp hash parameter block + * @param mp hash parameter block * @retval *digest 16 byte MD5 digest * @return 0 on success */ diff --git a/beecrypt/sha1.h b/beecrypt/sha1.h index 38e9823..0e6c7bc 100644 --- a/beecrypt/sha1.h +++ b/beecrypt/sha1.h @@ -56,7 +56,7 @@ extern BEECRYPTAPI const hashFunction sha1; /** \ingroup HASH_sha1_m * This function performs the SHA-1 hash algorithm on 64 byte blocks of data. - * @param mp hash parameter block + * @param sp hash parameter block */ BEECRYPTAPI void sha1Process(sha1Param* sp) @@ -64,7 +64,7 @@ void sha1Process(sha1Param* sp) /** \ingroup HASH_sha1_m * This function resets the parameter block so that it's ready for a new hash. - * @param mp hash parameter block + * @param sp hash parameter block * @return 0 on success */ BEECRYPTAPI /*@unused@*/ @@ -73,7 +73,7 @@ int sha1Reset (sha1Param* sp) /** \ingroup HASH_sha1_m * This function should be used to pass successive blocks of data to be hashed. - * @param mp hash parameter block + * @param sp hash parameter block * @param *data bytes to hash * @param size no. of bytes to hash * @return 0 on success diff --git a/beecrypt/sha256.h b/beecrypt/sha256.h index 8102de1..390d228 100644 --- a/beecrypt/sha256.h +++ b/beecrypt/sha256.h @@ -57,7 +57,7 @@ extern BEECRYPTAPI const hashFunction sha256; /*@-exportlocal@*/ /** \ingroup HASH_sha256_m * This function performs the SHA-256 hash algorithm on 64 byte blocks of data. - * @param mp hash parameter block + * @param sp hash parameter block */ BEECRYPTAPI void sha256Process(sha256Param* sp) @@ -66,7 +66,7 @@ void sha256Process(sha256Param* sp) /** \ingroup HASH_sha256_m * This function resets the parameter block so that it's ready for a new hash. - * @param mp hash parameter block + * @param sp hash parameter block * @return 0 on success */ BEECRYPTAPI @@ -75,7 +75,7 @@ int sha256Reset (sha256Param* sp) /** \ingroup HASH_sha256_m * This function should be used to pass successive blocks of data to be hashed. - * @param mp hash parameter block + * @param sp hash parameter block * @param *data bytes to hash * @param size no. of bytes to hash * @return 0 on success