package/cryptsetup: openssl is the default crypto backend
openssl is the default crypto backend since version 2.1.0 and
bc3d0feb5c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
cc60c732a1
commit
0ce909afa9
@ -20,15 +20,15 @@ CRYPTSETUP_INSTALL_STAGING = YES
|
||||
CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)"
|
||||
CRYPTSETUP_CONF_OPTS += --enable-blkid --enable-libargon2
|
||||
|
||||
# cryptsetup uses libgcrypt by default, but can be configured to use OpenSSL
|
||||
# cryptsetup uses OpenSSL by default, but can be configured to use libgcrypt
|
||||
# or kernel crypto modules instead
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
CRYPTSETUP_DEPENDENCIES += openssl
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=openssl
|
||||
else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
CRYPTSETUP_DEPENDENCIES += libgcrypt
|
||||
CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=gcrypt
|
||||
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
CRYPTSETUP_DEPENDENCIES += openssl
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=openssl
|
||||
else
|
||||
CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user