Re: [PATCH] crypto: x86/aes-gcm - delete unused GCM assembly code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> Delete aesni_gcm_enc() and aesni_gcm_dec() because they are unused.
> Only the incremental AES-GCM functions (aesni_gcm_init(),
> aesni_gcm_enc_update(), aesni_gcm_finalize()) are actually used.
> 
> This saves 17 KB of object code.
> 
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> arch/x86/crypto/aesni-intel_asm.S | 186 ------------------------------
> 1 file changed, 186 deletions(-)

I wonder if we can get the tooling to warn about unused assembly
code.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux