libgcrypt install problem~~help me
NIIBE Yutaka
gniibe at fsij.org
Wed Jun 29 01:42:48 CEST 2016
Hello,
On 06/28/2016 06:24 PM, saehym wrote:
> $ ./configure ==> ok
>
> Libgcrypt v1.7.0 has been configured as follows:
>
> Platform: GNU/Linux (x86_64-pc-linux-gnu)
> Hardware detection module: hwf-x86
> Enabled cipher algorithms: arcfour blowfish cast5 des aes twofish
> serpent rfc2268 seed camellia idea
> salsa20
> gost28147 chacha20
> Enabled digest algorithms: crc gostr3411-94 md4 md5 rmd160 sha1
> sha256 sha512 sha3 tiger whirlpool
> stribog
>
> Enabled kdf algorithms: s2k pkdf2 scrypt
> Enabled pubkey algorithms: dsa elgamal rsa ecc
> Random number generator: default
> Using linux capabilities: no
> Try using Padlock crypto: yes
> Try using AES-NI crypto: yes
> Try using Intel PCLMUL: yes
> Try using DRNG (RDRAND): yes
> Try using Intel AVX: yes
> Try using Intel AVX2: no (unsupported by compiler)
> Try using ARM NEON: n/a
[...]
> `_gcry_sha1_transform_amd64_avx'
I think that it is same bug which is reported at:
https://bugs.gnupg.org/gnupg/issue2396
Thanks for your description, I think that I found a bug in
libgcrypt.
If possible, could you try following patch?
diff --git a/cipher/sha1-avx-amd64.S b/cipher/sha1-avx-amd64.S
index 062a45b..70efe95 100644
--- a/cipher/sha1-avx-amd64.S
+++ b/cipher/sha1-avx-amd64.S
@@ -31,8 +31,8 @@
#if (defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) || \
defined(HAVE_COMPATIBLE_GCC_WIN64_PLATFORM_AS)) && \
- defined(HAVE_GCC_INLINE_ASM_BMI2) && \
- defined(HAVE_GCC_INLINE_ASM_AVX2) && defined(USE_SHA1)
+ defined(HAVE_INTEL_SYNTAX_PLATFORM_AS) && \
+ defined(HAVE_GCC_INLINE_ASM_AVX) && defined(USE_SHA1)
#ifdef __PIC__
# define RIP (%rip)
--
More information about the Gnupg-users
mailing list