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;
typedef uint64_t mpdw;
# endif
typedef uint32_t mpw;
+/*@-typeuse@*/
typedef uint16_t mphw;
+/*@=typeuse@*/
#else
# error
#endif
/** \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
*/
/** \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)
/** \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@*/
/** \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
/*@-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)
/** \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
/** \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