summaryrefslogtreecommitdiff
path: root/crypto/tomcrypt_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/tomcrypt_hash.h')
-rw-r--r--crypto/tomcrypt_hash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/tomcrypt_hash.h b/crypto/tomcrypt_hash.h
index ac1e713..c3a3179 100644
--- a/crypto/tomcrypt_hash.h
+++ b/crypto/tomcrypt_hash.h
@@ -166,7 +166,7 @@ extern struct ltc_hash_descriptor {
@return CRYPT_OK if successful
*/
int (*init)(hash_state *hash);
- /** Process a block of data
+ /** Process a block of data
@param hash The hash state
@param in The data to hash
@param inlen The length of the data (octets)
@@ -186,7 +186,7 @@ extern struct ltc_hash_descriptor {
/* accelerated hmac callback: if you need to-do multiple packets just use the generic hmac_memory and provide a hash callback */
int (*hmac_block)(const unsigned char *key, unsigned long keylen,
- const unsigned char *in, unsigned long inlen,
+ const unsigned char *in, unsigned long inlen,
unsigned char *out, unsigned long *outlen);
} hash_descriptor[];
@@ -329,8 +329,8 @@ int hash_is_valid(int idx);
LTC_MUTEX_PROTO(ltc_hash_mutex)
-int hash_memory(int hash,
- const unsigned char *in, unsigned long inlen,
+int hash_memory(int hash,
+ const unsigned char *in, unsigned long inlen,
unsigned char *out, unsigned long *outlen);
int hash_memory_multi(int hash, unsigned char *out, unsigned long *outlen,
const unsigned char *in, unsigned long inlen, ...);