mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
84899cf631
As on master otherwise with --disable-asm: config.status: executing gcrypt-conf commands Libgcrypt v1.10.1 has been configured as follows: Platform: GNU/Linux (x86_64-pc-linux-musl) Hardware detection module: none Enabled cipher algorithms: arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia idea salsa20 gost28147 chacha20 sm4 Enabled digest algorithms: crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2 sm3 Enabled kdf algorithms: s2k pkdf2 scrypt Enabled pubkey algorithms: dsa elgamal rsa ecc Random number generator: default Try using jitter entropy: yes Using linux capabilities: no FIPS module version: Try using Padlock crypto: n/a Try using AES-NI crypto: n/a Try using Intel SHAEXT: n/a Try using Intel PCLMUL: n/a Try using Intel SSE4.1: n/a Try using DRNG (RDRAND): n/a Try using Intel AVX: n/a Try using Intel AVX2: n/a Try using ARM NEON: n/a Try using ARMv8 crypto: n/a Try using PPC crypto: n/a By disabling --disable-asm in libgcrypt 1.10.1: config.status: executing gcrypt-conf commands Libgcrypt v1.10.1 has been configured as follows: Platform: GNU/Linux (x86_64-pc-linux-musl) Hardware detection module: libgcrypt_la-hwf-x86 Enabled cipher algorithms: arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia idea salsa20 gost28147 chacha20 sm4 Enabled digest algorithms: crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2 sm3 Enabled kdf algorithms: s2k pkdf2 scrypt Enabled pubkey algorithms: dsa elgamal rsa ecc Random number generator: default Enabled digest algorithms: crc gostr3411-94 md4 md5 rmd160 sha1 sha256 sha512 sha3 tiger whirlpool stribog blake2 sm3 Enabled kdf algorithms: s2k pkdf2 scrypt Enabled pubkey algorithms: dsa elgamal rsa ecc Random number generator: default Try using jitter entropy: yes Using linux capabilities: no FIPS module version: Try using Padlock crypto: yes Try using AES-NI crypto: yes Try using Intel SHAEXT: yes Try using Intel PCLMUL: yes Try using Intel SSE4.1: yes Try using DRNG (RDRAND): yes Try using Intel AVX: yes Try using Intel AVX2: yes Try using ARM NEON: n/a Try using ARMv8 crypto: n/a Try using PPC crypto: n/a To support PPC crypto, it seems we will need yasm. To support linux capabilities, libcap would be required as well later on. :/ another point for rng-tools (which also depends on libcap-ng)
27 lines
714 B
Makefile
27 lines
714 B
Makefile
modules-$(CONFIG_GPG2) += libgcrypt
|
|
|
|
libgcrypt_version := 1.10.1
|
|
libgcrypt_dir := libgcrypt-$(libgcrypt_version)
|
|
libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
|
|
libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
|
|
libgcrypt_hash := ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de
|
|
|
|
libgcrypt_configure := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
--host=$(MUSL_ARCH)-linux-musl \
|
|
--prefix "/" \
|
|
--disable-static \
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
|
--disable-doc \
|
|
|
|
libgcrypt_target := $(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
$(CROSS_TOOLS) \
|
|
install \
|
|
|
|
libgcrypt_libraries := src/.libs/libgcrypt.so.20
|
|
|
|
libgcrypt_depends := libgpg-error $(musl_dep)
|