7 Replies Latest reply on Jan 14, 2016 7:05 AM by Carlos_A

    Need help in QAT/Openssl-Async

    Chul-Woong Community Member



      I'm evaluating QAT hardware crypto card (8955 chipset)

      I managed in building QAT1.6 driver and running

      cpa_sample_code, both user-mode and kernel mode.

      Next, I followed README to compile QAT-enabled openssl-async.

      Setting environment, git clone, applying patch, making openssl lib, binary,

      and qat-engine and engine driver.


      However, openssl does not seem to recognize qat engine.

      ENGINE_set_default() is always failed.


      I used QAT driver version qatmux.l.2.5.0-80 and openssl patch file libcrypto_shim_0.4.10-011.tgz.


      I would appreciate any help. Thank you.





      # openssl engine

      WARNING: can't open config file: /usr/local/ssl/openssl.cnf

      (rsax) RSAX engine support

      (rdrand) Intel RDRAND engine

      (dynamic) Dynamic engine loading support

      (4758cca) IBM 4758 CCA hardware engine support

      (aep) Aep hardware engine support

      (atalla) Atalla hardware engine support

      (cswift) CryptoSwift hardware engine support

      (chil) CHIL hardware engine support

      (nuron) Nuron hardware engine support

      (sureware) SureWare hardware engine support

      (ubsec) UBSEC hardware engine support

      (qat) Reference implementation of QAT crypto engine

      (gost) Reference implementation of GOST engine


      # openssl speed -engine qat

      WARNING: can't open config file: /usr/local/ssl/openssl.cnf

      can't use that engine

      140354839393960:error:260B806D:engine routines:ENGINE_TABLE_REGISTER:init failed:eng_table.c:175:

      Doing mdc2 for 3s on 16 size blocks: ^C