3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

crypto: use SWAP from useful.h

This commit is contained in:
Denis Kenzior 2023-10-11 09:58:15 -05:00
parent f86e7283e7
commit 600bea73ec

View File

@ -439,8 +439,6 @@ free_ctr:
return false;
}
#define SWAP(a, b) do { int _t = a; a = b; b = _t; } while (0)
static void arc4_set_key(struct arc4_ctx *ctx, unsigned int length,
const uint8_t *key)
{