lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y9yVjerSZcAkkmDf@gondor.apana.org.au>
Date:   Fri, 3 Feb 2023 13:03:10 +0800
From:   Herbert Xu <herbert@...dor.apana.org.au>
To:     Peter Lafreniere <peter@...jl.ca>
Cc:     linux-crypto@...r.kernel.org, peter@...jl.ca, ardb@...nel.org,
        linux-kernel@...r.kernel.org, conor.dooley@...rochip.com,
        x86@...nel.org
Subject: Re: [PATCH RESEND] crypto: x86 - exit fpu context earlier in ECB/CBC
 macros

Peter Lafreniere <peter@...jl.ca> wrote:
> Currently the ecb/cbc macros hold fpu context unnecessarily when using
> scalar cipher routines (e.g. when handling odd sizes of blocks per walk).
> 
> Change the macros to drop fpu context as soon as the fpu is out of use.
> 
> No performance impact found (on Intel Haswell).
> 
> Signed-off-by: Peter Lafreniere <peter@...jl.ca>
> ---
> arch/x86/crypto/ecb_cbc_helpers.h | 19 +++++++++++++++----
> 1 file changed, 15 insertions(+), 4 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ