Changeset 32673


Ignore:
Timestamp:
2012-07-12T01:38:16+02:00 (6 years ago)
Author:
luka
Message:

openssl: enable the use of cryptodev digests

Location:
trunk/package
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/crypto.mk

    r31907 r32673  
    394394define KernelPackage/crypto-ocf 
    395395  TITLE:=OCF modules 
    396   DEPENDS:=+@OPENSSL_ENGINE @!TARGET_uml +kmod-crypto-manager 
     396  DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @!TARGET_uml +kmod-crypto-manager 
    397397  KCONFIG:= \ 
    398398        CONFIG_OCF_OCF \ 
     
    418418define KernelPackage/crypto-ocf-hifn7751 
    419419  TITLE:=OCF support for Hifn 6500/7751/7811/795x, Invertex AEON and NetSec 7751 devices 
    420   DEPENDS:=+@OPENSSL_ENGINE @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf 
     420  DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf 
    421421  KCONFIG:=CONFIG_OCF_HIFN 
    422422  FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifn7751.ko 
     
    430430define KernelPackage/crypto-ocf-hifnhipp 
    431431  TITLE:=OCF support for Hifn 7855/8155 devices 
    432   DEPENDS:=+@OPENSSL_ENGINE @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf 
     432  DEPENDS:=+@OPENSSL_ENGINE_CRYPTO @PCI_SUPPORT @!TARGET_uml kmod-crypto-ocf 
    433433  KCONFIG:=CONFIG_OCF_HIFNHIPP 
    434434  FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifnHIPP.ko 
  • trunk/package/openssl/Config.in

    r20915 r32673  
    22        depends on PACKAGE_libopenssl 
    33 
    4 config OPENSSL_ENGINE 
     4config OPENSSL_ENGINE_CRYPTO 
    55        bool 
    66        prompt "Crypto acceleration support" 
    77 
     8config OPENSSL_ENGINE_DIGEST 
     9        bool 
     10        depends OPENSSL_ENGINE_CRYPTO 
     11        prompt "Digests acceleration support" 
     12 
    813endmenu 
  • trunk/package/openssl/Makefile

    r32443 r32673  
    2020 
    2121PKG_BUILD_DEPENDS:=ocf-crypto-headers 
    22 PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE 
     22PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE_CRYPTO CONFIG_OPENSSL_ENGINE_DIGEST 
    2323 
    2424include $(INCLUDE_DIR)/package.mk 
     
    7474 
    7575OPENSSL_NO_CIPHERS:= no-idea no-md2 no-mdc2 no-rc5 no-sha0 no-smime \ 
    76                                         no-rmd160 no-aes192 no-ripemd no-camellia no-ans1 no-krb5 
     76        no-rmd160 no-aes192 no-ripemd no-camellia no-ans1 no-krb5 
    7777OPENSSL_OPTIONS:= shared no-ec no-err no-hw no-threads zlib-dynamic no-sse2 
    7878 
    79 ifdef CONFIG_OPENSSL_ENGINE 
     79ifdef CONFIG_OPENSSL_ENGINE_CRYPTO 
    8080  OPENSSL_OPTIONS += -DHAVE_CRYPTODEV 
     81  ifdef CONFIG_OPENSSL_ENGINE_DIGEST 
     82    OPENSSL_OPTIONS += -DUSE_CRYPTODEV_DIGESTS 
     83  endif 
    8184else 
    8285  OPENSSL_OPTIONS += no-engines 
Note: See TracChangeset for help on using the changeset viewer.