summaryrefslogtreecommitdiff
path: root/crypto/tomcrypt_hash.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
commit81ca3923a29ea9b67f7291be23b210019546aa5f (patch)
treefcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /crypto/tomcrypt_hash.h
parent830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff)
downloadaccel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz
accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.zip
remove trailing whitespaces
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 ac1e7133..c3a3179e 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, ...);