From de2a27e255b6ec834d11c005909b28a150c7c0db Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 25 Oct 2016 17:04:17 +0200 Subject: Add generic message authentication interface Add generic interface for generating and verifying MACs (message authentication codes). Replace multiple HMAC implementation with a generic one. --- nest/password.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/password.h') diff --git a/nest/password.h b/nest/password.h index 1d9de53c..a45261e6 100644 --- a/nest/password.h +++ b/nest/password.h @@ -21,7 +21,7 @@ struct password_item { extern struct password_item *last_password_item; struct password_item *password_find(list *l, int first_fit); -struct password_item *password_find_by_id(list *l, int id); +struct password_item *password_find_by_id(list *l, uint id); struct password_item *password_find_by_value(list *l, char *pass, uint size); static inline int password_verify(struct password_item *p1, char *p2, uint size) -- cgit v1.2.3