summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/mac/pelican/pelican_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/mac/pelican/pelican_memory.c')
-rw-r--r--libtomcrypt/src/mac/pelican/pelican_memory.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/libtomcrypt/src/mac/pelican/pelican_memory.c b/libtomcrypt/src/mac/pelican/pelican_memory.c
index 6eabaa1..08607a0 100644
--- a/libtomcrypt/src/mac/pelican/pelican_memory.c
+++ b/libtomcrypt/src/mac/pelican/pelican_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 pelican_memory.c
- Pelican MAC, MAC a block of memory, by Tom St Denis
+ Pelican MAC, MAC a block of memory, by Tom St Denis
*/
#ifdef LTC_PELICAN
@@ -23,7 +21,7 @@
@param keylen The length of the key (octets)
@param in The input to MAC
@param inlen The length of the input (octets)
- @param out [out] The output TAG
+ @param out [out] The output TAG
@return CRYPT_OK on success
*/
int pelican_memory(const unsigned char *key, unsigned long keylen,
@@ -34,7 +32,7 @@ int pelican_memory(const unsigned char *key, unsigned long keylen,
int err;
pel = XMALLOC(sizeof(*pel));
- if (pel == NULL) {
+ if (pel == NULL) {
return CRYPT_MEM;
}
@@ -47,13 +45,13 @@ int pelican_memory(const unsigned char *key, unsigned long keylen,
return err;
}
err = pelican_done(pel, out);
- XFREE(pel);
+ XFREE(pel);
return err;
}
#endif
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */