aboutsummaryrefslogtreecommitdiffstats
path: root/hmac_init.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_init.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_init.c')
-rw-r--r--hmac_init.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hmac_init.c b/hmac_init.c
index 6983073..cb47a54 100644
--- a/hmac_init.c
+++ b/hmac_init.c
@@ -2,15 +2,6 @@
#include "common.h"
-/**
- * Initialise an HMAC state
- *
- * @param state The state that should be initialised
- * @param algorithm The hashing algorithm
- * @param key The key
- * @param key_length The length of key, in bits
- * @return Zero on success, -1 on error
- */
int
libsha2_hmac_init(struct libsha2_hmac_state *restrict state, enum libsha2_algorithm algorithm,
const void *restrict key_, size_t keylen)