Quantcast
Channel: Embedded Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 3140

Intel QAT Linux Kernel Cryptographic Framework Driver Error !

$
0
0

Hello again,

i'm now testing the Linux Kernel Cryptographic Framework Driver using the V 4.3.1.

Firstly, the driver doesn't include any documentation as described in the download section.

But i was able to build the kernel module.

Of course, before i changed the qat config to use the kernel CY device. (IPSEC0)

After loading the module, these error can be seen in the kernel ring buffer.

  556.201221] icp_netkey_shim_setkey: Re-initialising previous session

[  556.201243] [error] LacSymPerform_BufferParamCheck() - : Invalid API Param - Source and Dest buffer lengths need to be equal

[  556.201249] perform_sym_chaining: cpaCySymPerformOp failed. (status = (-4))

[  556.201253] alg: aead-ddst: encryption failed on test 1 for icp_qat_aes_cbc_sha1_hmac: ret=22

[  556.201289] Quick Assist icp_authenc_aes_cbc_hmac_sha1 loaded

[  556.201382] alg: No test for authenc(hmac(md5),cbc(aes)) (icp_qat_aes_cbc_md5_hmac)

[  556.201397] Quick Assist icp_authenc_aes_cbc_hmac_md5 loaded

[  556.202302] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202385] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202460] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202535] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202611] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202687] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202776] icp_netkey_shim_setkey: Re-initialising previous session

[  556.202797] [error] LacSymPerform_BufferParamCheck() - : Invalid API Param - Source and Dest buffer lengths need to be equal

[  556.202803] perform_sym_chaining: cpaCySymPerformOp failed. (status = (-4))

[  556.202807] alg: aead-ddst: encryption failed on test 1 for icp_qat_aes_cbc_sha256_hmac: ret=22

etc.

 

Now, the kernel module doesn't provide any parameters.

Please tell me, if this is an error, where i can set the source and dest buffer values.

icp_qa_al also doesn't provide any buffer specific parameters.

 

Please explain the error and what can be done to get rid of it.

 

 

Rgds.

 

Franz


Viewing all articles
Browse latest Browse all 3140

Trending Articles