aboutsummaryrefslogtreecommitdiffstats
path: root/hmac_digest.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 15:21:06 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 15:21:06 +0200
commit2b417525c4eb152bb6f5c4bb845c3c0ecccd456e (patch)
tree5ec474f9aff7656e393ce1a2c32473ba99daa772 /hmac_digest.c
parentInline the output size functions (diff)
downloadlibsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.gz
libsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.bz2
libsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.xz
Remove documentation from .c files that already exist in .h files
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'hmac_digest.c')
-rw-r--r--hmac_digest.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hmac_digest.c b/hmac_digest.c
index 9cc4271..3149831 100644
--- a/hmac_digest.c
+++ b/hmac_digest.c
@@ -2,20 +2,6 @@
#include "common.h"
-/**
- * Feed data into the HMAC algorithm and
- * get the result
- *
- * The state of the algorithm will be reset and
- * `libsha2_hmac_update` and `libsha2_hmac_update`
- * can be called again
- *
- * @param state The state of the algorithm
- * @param data Data to feed into the algorithm
- * @param n The number of bytes to feed into the algorithm
- * @param output The output buffer for the hash, it will be as
- * large as for the underlaying hash algorithm
- */
void
libsha2_hmac_digest(struct libsha2_hmac_state *restrict state, const void *data, size_t n, void *output)
{