From 4806ddac9fc1dd243f9297c031689c23be6ee8b0 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 29 Sep 2011 11:21:30 +0200 Subject: Add binary radsecproxy-hash. Split up fticks.c in order not to have to drag in too much of radsecproxy in order to just hash a MAC. --- fticks_hashmac.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 fticks_hashmac.h (limited to 'fticks_hashmac.h') diff --git a/fticks_hashmac.h b/fticks_hashmac.h new file mode 100644 index 0000000..eb40a04 --- /dev/null +++ b/fticks_hashmac.h @@ -0,0 +1,7 @@ +#include +#include + +int fticks_hashmac(const uint8_t *in, + const uint8_t *key, + size_t out_len, + uint8_t *out); -- cgit v1.1