From 915507020046c9488f277d523c22bb12995e14ea Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 11 Dec 2016 14:25:28 +0100 Subject: global: move to consistent use of uN instead of uintN_t for kernel code --- src/hashtables.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hashtables.h') diff --git a/src/hashtables.h b/src/hashtables.h index 5a87a72..fd3ff8b 100644 --- a/src/hashtables.h +++ b/src/hashtables.h @@ -13,18 +13,18 @@ struct wireguard_peer; struct pubkey_hashtable { DECLARE_HASHTABLE(hashtable, 8); - uint8_t key[SIPHASH24_KEY_LEN]; + u8 key[SIPHASH24_KEY_LEN]; struct mutex lock; }; void pubkey_hashtable_init(struct pubkey_hashtable *table); void pubkey_hashtable_add(struct pubkey_hashtable *table, struct wireguard_peer *peer); void pubkey_hashtable_remove(struct pubkey_hashtable *table, struct wireguard_peer *peer); -struct wireguard_peer *pubkey_hashtable_lookup(struct pubkey_hashtable *table, const uint8_t pubkey[NOISE_PUBLIC_KEY_LEN]); +struct wireguard_peer *pubkey_hashtable_lookup(struct pubkey_hashtable *table, const u8 pubkey[NOISE_PUBLIC_KEY_LEN]); struct index_hashtable { DECLARE_HASHTABLE(hashtable, 10); - uint8_t key[SIPHASH24_KEY_LEN]; + u8 key[SIPHASH24_KEY_LEN]; spinlock_t lock; }; -- cgit v1.2.3-59-g8ed1b