crypto: x86/curve25519 - leave r12 as spare register
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 1 Mar 2020 08:06:56 +0000 (16:06 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Mar 2020 01:28:25 +0000 (12:28 +1100)
commitdc7fc3a53ae158263196b1892b672aedf67796c5
tree274635b1be0cf582e2db630c2ceeed931684003d
parent3f142b6a7b573bde6cff926f246da05652c61eb4
crypto: x86/curve25519 - leave r12 as spare register

This updates to the newer register selection proved by HACL*, which
leads to a more compact instruction encoding, and saves around 100
cycles.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/curve25519-x86_64.c