Home GnuPG

Disable AES-NI support if as does not support SSSE3.
9f4df1612ae2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Disable AES-NI support if as does not support SSSE3.

* configure.ac (HAVE_GCC_INLINE_ASM_SSSE3): New test.
(ENABLE_AESNI_SUPPORT): Do not define without SSSE3 support.
(HAVE_GCC_INLINE_ASM_SSSE3, ENABLE_AVX_SUPPORT): Split up detection
and definition.

For example the assembler of FreeBSD 7.3 does not know about pshufb
and thus rijndael.c can't be compiled without using
--disable-aesni-support. This check that the toolchain can use SSSE3
instructions before trying to build with AES_NI support.

Details

Provenance
wernerAuthored on Mar 22 2013, 11:41 AM
Parents
rC2a1e03c5a481: Fix make dependency regression.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC9f4df1612ae2: Disable AES-NI support if as does not support SSSE3. (authored by Werner Koch <wk@gnupg.org>).Mar 22 2013, 11:41 AM