mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
crypto: use SWAP from useful.h
This commit is contained in:
parent
f86e7283e7
commit
600bea73ec
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user