mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +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;
|
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,
|
static void arc4_set_key(struct arc4_ctx *ctx, unsigned int length,
|
||||||
const uint8_t *key)
|
const uint8_t *key)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user