summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/mac/pmac/pmac_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/mac/pmac/pmac_memory.c')
-rw-r--r--libtomcrypt/src/mac/pmac/pmac_memory.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/libtomcrypt/src/mac/pmac/pmac_memory.c b/libtomcrypt/src/mac/pmac/pmac_memory.c
index 70b9616..7842781 100644
--- a/libtomcrypt/src/mac/pmac/pmac_memory.c
+++ b/libtomcrypt/src/mac/pmac/pmac_memory.c
@@ -5,14 +5,12 @@
*
* The library is free for all purposes without any express
* guarantee it works.
- *
- * Tom St Denis, tomstdenis@gmail.com, http://libtom.org
*/
#include "tomcrypt.h"
-/**
+/**
@file pmac_memory.c
- PMAC implementation, process a block of memory, by Tom St Denis
+ PMAC implementation, process a block of memory, by Tom St Denis
*/
#ifdef LTC_PMAC
@@ -28,7 +26,7 @@
@param outlen [in/out] The max size and resulting size of the authentication tag
@return CRYPT_OK if successful
*/
-int pmac_memory(int cipher,
+int pmac_memory(int cipher,
const unsigned char *key, unsigned long keylen,
const unsigned char *in, unsigned long inlen,
unsigned char *out, unsigned long *outlen)
@@ -46,7 +44,7 @@ int pmac_memory(int cipher,
if (pmac == NULL) {
return CRYPT_MEM;
}
-
+
if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK) {
goto LBL_ERR;
}
@@ -64,11 +62,11 @@ LBL_ERR:
#endif
XFREE(pmac);
- return err;
+ return err;
}
#endif
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */