aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-01-11 14:37:41 +0100
committerJason A. Donenfeld <[email protected]>2022-01-18 13:03:55 +0100
commitd8d83d8ab0a453e17e68b3a3bed1f940c34b8646 (patch)
tree50da5894bc1a914182ab12609ba4005b2c8e1d5c /tools/perf/util/scripting-engines/trace-event-python.c
parente56e18985596617ae426ed5997fb2e737cffb58b (diff)
lib/crypto: blake2s: move hmac construction into wireguard
Basically nobody should use blake2s in an HMAC construction; it already has a keyed variant. But unfortunately for historical reasons, Noise, used by WireGuard, uses HKDF quite strictly, which means we have to use this. Because this really shouldn't be used by others, this commit moves it into wireguard's noise.c locally, so that kernels that aren't using WireGuard don't get this superfluous code baked in. On m68k systems, this shaves off ~314 bytes. Cc: Herbert Xu <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions