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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 22 Oct 2021 20:36:08 +0800
From:   Herbert Xu <herbert@...dor.apana.org.au>
To:     Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Peter Zijlstra <peterz@...radead.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        "H. Peter Anvin" <hpa@...or.com>,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Abaci Robot <abaci@...ux.alibaba.com>,
        Heyuan Shi <heyuan@...ux.alibaba.com>, x86@...nel.org,
        linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: x86/sm4 - Fix invalid section entry size

On Fri, Oct 15, 2021 at 11:47:33AM +0800, Tianjia Zhang wrote:
> This fixes the following warning:
> 
>   vmlinux.o: warning: objtool: elf_update: invalid section entry size
> 
> The size of the rodata section is 164 bytes, directly using the
> entry_size of 164 bytes will cause errors in some versions of the
> gcc compiler, while using 16 bytes directly will cause errors in
> the clang compiler. This patch correct it by filling the size of
> rodata to a 16-byte boundary.
> 
> Fixes: a7ee22ee1445 ("crypto: x86/sm4 - add AES-NI/AVX/x86_64 implementation")
> Fixes: 5b2efa2bb865 ("crypto: x86/sm4 - add AES-NI/AVX2/x86_64 implementation")
> Reported-by: Peter Zijlstra <peterz@...radead.org>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
> Tested-by: Heyuan Shi <heyuan@...ux.alibaba.com>
> ---
>  arch/x86/crypto/sm4-aesni-avx-asm_64.S  | 6 +++++-
>  arch/x86/crypto/sm4-aesni-avx2-asm_64.S | 6 +++++-
>  2 files changed, 10 insertions(+), 2 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