diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-12-13 17:25:37 +0100 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2023-11-06 09:28:24 +0000 |
commit | 894629feeee2de09e6562a91b71decd99d6223de (patch) | |
tree | 220d580f03b5088398f600c84be0981947db62ba /drivers/net/wireguard/queueing.c | |
parent | 0397ca233874934e67e4d205d29d65c42033c9cf (diff) |
crypto: curve25519-x86_64: use in/out register constraints more precisely
Rather than passing all variables as modified, pass ones that are only
read into that parameter. This helps with old gcc versions when
alternatives are additionally used, and lets gcc's codegen be a little
bit more efficient. This also syncs up with the latest Vale/EverCrypt
output.
This also forward ports 3c9f3b6 ("crypto: curve25519-x86_64: solve
register constraints with reserved registers").
Cc: Aymeric Fromherz <aymeric.fromherz@inria.fr>
Cc: Mathias Krause <minipli@grsecurity.net>
Link: https://lore.kernel.org/wireguard/1554725710.1290070.1639240504281.JavaMail.zimbra@inria.fr/
Link: https://github.com/project-everest/hacl-star/pull/501
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: Idc46e469140c53e1bbe436894c7750e8dcfbec47
Diffstat (limited to 'drivers/net/wireguard/queueing.c')
0 files changed, 0 insertions, 0 deletions