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
1 changed files with 0 additions and 2 deletions

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)
{