iMX6Q CAAM / openssl / cryptodev: Invalid CHA selected

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6Q CAAM / openssl / cryptodev: Invalid CHA selected

366 Views
RSD
Contributor I

Hello everyone

I encounter failures when trying to use imx6 caam for HW crypto with openssl/cryptodev ("Invalid CHA selected")

(following 
https://elinux.org/images/d/da/2017-02_-_ELC_-_Hudson_-_Linux_Cryptographic_Acceleration_on_an_MX6.p...)


Any idea ?

Regards

----------------------------------------------------------------------------

Command:

openssl speed -evp aes-128-cbc -elapsed

and the errors continuously encountered:

[ 305.394563] src @1193: a54e3f80: 096d036e 30000130 00000e7c 76f0e010 n.m.0..0|......v
[ 305.402892] ablkcipher jobdesc@1696: a8f1f0dc: b0911c08 3958f040 f1400000 38f1f15c ....@.X9..@.\..8
[ 305.412063] ablkcipher jobdesc@1696: a8f1f0ec: 00000010 f9400000 38f1f16c 00000010 ......@.l..8....
[ 305.421253] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 305.428331] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 305.436101] dst @975: a54e3f80: 096d036e 30000130 00000e7c 76f0e010 n.m.0..0|......v
[ 305.444236] cryptodev: openssl[3836] (waitfor:291): error from async request: 536874511
[ 305.452281] cryptodev: openssl[3836] (hash_n_crypt:98): CryptoAPI failure: 536874511

 

Tested the following ciphers:

aes-128-cbc aes-192-cbc aes-256-cbc des-cbc des-ede3-cbc

=> same result

 

It looks like digests test are ok

 

 

 

My settings:

HW: iMX6 Dual

openssl: 1.1.1g

linux kernel:

SRCBRANCH = "imx_4.14.98_2.0.0_ga"
SRCREV = "1175b59611537b0b451e0d1071b1666873a8ec32"

 

defconfig part (enabled debug for CAAM):

#
# Random Number Generation
#
CONFIG_CRYPTO_ANSI_CPRNG=m
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=y
CONFIG_CRYPTO_JITTERENTROPY=y
# CONFIG_CRYPTO_USER_API is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_HIFN_795X is not set
CONFIG_CRYPTO_DEV_FSL_CAAM=y
CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9
# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y
# CONFIG_CRYPTO_DEV_FSL_CAAM_TK_API is not set
# CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_TEST is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_SLOTSIZE=7
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG=y
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y
# CONFIG_CRYPTO_DEV_SAHARA is not set
# CONFIG_CRYPTO_DEV_MXC_SCC is not set
CONFIG_CRYPTO_DEV_MXS_DCP=y
# CONFIG_ASYMMETRIC_KEY_TYPE is not set

 

Some logs:

init:

2.239424] mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[ 2.249588] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[ 2.256241] mxc_vpu 2040000.vpu_fsl: VPU initialized
[ 2.258786] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[ 2.263792] caam 2100000.caam: ERA source: CAAMVID.
[ 2.267571] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
[ 2.271784] caam 2100000.caam: AXI pipeline throttling enabled.
[ 2.283220] random: fast init done
[ 2.283938] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[ 2.287518] mmc2: queuing unknown CIS tuple 0x80 (1 bytes)
[ 2.293141] caam 2100000.caam: job rings = 2, qi = 0, dpaa2 = no
[ 2.298748] mmc2: queuing unknown CIS tuple 0x81 (1 bytes)
[ 2.305792] caam_jr 2101000.jr0: Entropy delay = 3200
[ 2.310189] usb 3-1: new high-speed USB device number 2 using ci_hdrc
[ 2.321915] mmc2: queuing unknown CIS tuple 0x82 (1 bytes)
[ 2.327527] mmc2: new high speed SDIO card at address 0001
[ 2.333077] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 2.376031] caam_jr 2101000.jr0: Instantiated RNG4 SH0.
[ 2.402466] mmc3: new DDR MMC card at address 0001
[ 2.407957] mmcblk3: mmc3:0001 Q2J55L 3.55 GiB
[ 2.413104] mmcblk3boot0: mmc3:0001 Q2J55L partition 1 16.0 MiB
[ 2.419715] mmcblk3boot1: mmc3:0001 Q2J55L partition 2 16.0 MiB
[ 2.426306] mmcblk3rpmb: mmc3:0001 Q2J55L partition 3 4.00 MiB
[ 2.436803] caam_jr 2101000.jr0: Instantiated RNG4 SH1.
[ 2.443962] mmcblk3: p1 p2 p3 p4 p5 p6 p7
[ 2.453686] caam algorithms registered in /proc/crypto
[ 2.460509] rng shdesc@: a8ac0008: b8800203 82500000 6834ffc0 ......P...4h
[ 2.468335] usb 3-1: device no response, device descriptor read/64, error -71
[ 2.475660] rng job desc@: a8ad0014: b0831c04 38ac0008 f800ffc0 38ac0040 .......8....@..8
[ 2.484431] usb 2-1: New USB device found, idVendor=0424, idProduct=2512


[ 2.545515] rng refreshed buf@: a8ae0000: 76d3345b 088f5b3d 48805d34 12779aef [4.v=[..4].H..w.
[ 2.545522] rng refreshed buf@: a8ae0010: 1af947ad 0f067aba 640c0529 391e30df .G...z..)..d.0.9
[ 2.545528] rng refreshed buf@: a8ae0020: 24f6600d 671f830c 4e8e9d4b c9a21139 .`.$...gK..N9...
[ 2.545535] rng refreshed buf@: a8ae0030: 79420f1c e4563b64 cabd375b a05e9b48 ..Byd;V.[7..H.^.
[ 2.557325] caam_jr 2102000.jr1: 2000030f: CCB: desc idx 3: : Invalid CHA selected.
[ 2.557380] platform caam_sm: blkkey_ex: can't cover 64-bit key
[ 2.566089] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.575071] caam-snvs 20cc000.caam-snvs: can't get snvs clock

 

cyrptodev loaded + openssl test:


[ 132.584352] cryptodev: loading out-of-tree module taints kernel.
[ 132.596076] cryptodev: driver 1.10 loaded.


openssl speed -evp aes-128-cbc -elapsed

[ 148.735855] key in @642: a9687b80: 33323130 37363534 01234567
[ 148.743337] ablkcipher enc shdesc@1116: a8f6a440: b880120b a1004004 02800008 33323130 .....@......0123
[ 148.752774] ablkcipher enc shdesc@1116: a8f6a450: 37363534 1a200008 8220010d a8080b04 4567.. ... .....
[ 148.762806] ablkcipher enc shdesc@1116: a8f6a460: a8080a04 2b120000 69300000 .......+..0i
[ 148.772213] ablkcipher dec shdesc@1190: a8f6a520: b880120b a1004004 02800008 33323130 .....@......0123
[ 148.782416] ablkcipher dec shdesc@1190: a8f6a530: 37363534 1a200008 8220010c a8080b04 4567.. ... .....
[ 148.791921] ablkcipher dec shdesc@1190: a8f6a540: a8080a04 2b120000 69300000 .......+..0i
[ 148.801488] ablkcipher givenc shdesc@1277: a8f6a600: b8801210 a1004004 02800008 33323130 .....@......0123
[ 148.811517] ablkcipher givenc shdesc@1277: a8f6a610: 37363534 10fa0004 12f30008 16860800 4567............
[ 148.822419] ablkcipher givenc shdesc@1277: a8f6a620: 79800008 16860400 5a200008 8220010d ...y...... Z.. .
[ 148.832123] ablkcipher givenc shdesc@1277: a8f6a630: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 148.841887] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 148.850012] key in @642: a9687b90: 39383736 33323130 67890123
[ 148.857473] ablkcipher enc shdesc@1116: a8f6a440: b880120f a1004008 02800018 33323130 .....@......0123
[ 148.866894] ablkcipher enc shdesc@1116: a8f6a450: 37363534 31303938 35343332 39383736 4567890123456789
[ 148.876327] ablkcipher enc shdesc@1116: a8f6a460: 33323130 1a200008 8221010d a8080b04 0123.. ...!.....
[ 148.885752] ablkcipher enc shdesc@1116: a8f6a470: a8080a04 2b120000 69300000 .......+..0i
[ 148.894871] ablkcipher dec shdesc@1190: a8f6a520: b880120f a1004008 02800018 33323130 .....@......0123
[ 148.904296] ablkcipher dec shdesc@1190: a8f6a530: 37363534 31303938 35343332 39383736 4567890123456789
[ 148.913722] ablkcipher dec shdesc@1190: a8f6a540: 33323130 1a200008 8221010c a8080b04 0123.. ...!.....
[ 148.923154] ablkcipher dec shdesc@1190: a8f6a550: a8080a04 2b120000 69300000 .......+..0i
[ 148.932275] ablkcipher givenc shdesc@1277: a8f6a600: b8801214 a1004008 02800018 33323130 .....@......0123
[ 148.941952] ablkcipher givenc shdesc@1277: a8f6a610: 37363534 31303938 35343332 39383736 4567890123456789
[ 148.951642] ablkcipher givenc shdesc@1277: a8f6a620: 33323130 10fa0004 12f30008 16860800 0123............
[ 148.961325] ablkcipher givenc shdesc@1277: a8f6a630: 79800008 16860400 5a200008 8221010d ...y...... Z..!.
[ 148.971014] ablkcipher givenc shdesc@1277: a8f6a640: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 148.988689] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 148.996861] ablkcipher enc shdesc@1116: a8f68040: b880120d a1004006 02800010 33323130 .....@......0123
[ 149.006293] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 1a200010 456789012345.. .
[ 149.015768] ablkcipher enc shdesc@1116: a8f68060: 8210010d a8080b04 a8080a04 2b120000 ...............+
[ 149.025204] ablkcipher enc shdesc@1116: a8f68070: 69300000 ..0i
[ 149.033631] ablkcipher dec shdesc@1190: a8f68120: b8801210 a1004006 02800010 33323130 .....@......0123
[ 149.043068] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 1a200010 456789012345.. .
[ 149.052497] ablkcipher dec shdesc@1190: a8f68140: a1004003 8210010c a0000002 8210110c .@..............
[ 149.061927] ablkcipher dec shdesc@1190: a8f68150: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 149.071441] ablkcipher givenc shdesc@1277: a8f68200: b8801212 a1004006 02800010 33323130 .....@......0123
[ 149.081122] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 10fa0004 456789012345....
[ 149.090811] ablkcipher givenc shdesc@1277: a8f68220: 12f30010 16860800 79800010 16860400 ...........y....
[ 149.100497] ablkcipher givenc shdesc@1277: a8f68230: 5a200010 8210010d a8080b04 a8080a04 .. Z............
[ 149.110181] ablkcipher givenc shdesc@1277: a8f68240: 2b120000 69300000 ...+..0i
[ 149.119227] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.127354] key in @642: a9687b90: 39383736 33323130 67890123
[ 149.134811] ablkcipher enc shdesc@1116: a8f68040: b880120f a1004008 02800018 33323130 .....@......0123
[ 149.144239] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.153663] ablkcipher enc shdesc@1116: a8f68060: 33323130 1a200010 8210010d a8080b04 0123.. .........
[ 149.163096] ablkcipher enc shdesc@1116: a8f68070: a8080a04 2b120000 69300000 .......+..0i
[ 149.172214] ablkcipher dec shdesc@1190: a8f68120: b8801212 a1004008 02800018 33323130 .....@......0123
[ 149.181637] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.191061] ablkcipher dec shdesc@1190: a8f68140: 33323130 1a200010 a1004003 8210010c 0123.. ..@......
[ 149.200484] ablkcipher dec shdesc@1190: a8f68150: a0000002 8210110c a8080b04 a8080a04 ................
[ 149.209908] ablkcipher dec shdesc@1190: a8f68160: 2b120000 69300000 ...+..0i
[ 149.218732] ablkcipher givenc shdesc@1277: a8f68200: b8801214 a1004008 02800018 33323130 .....@......0123
[ 149.228416] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.238101] ablkcipher givenc shdesc@1277: a8f68220: 33323130 10fa0004 12f30010 16860800 0123............
[ 149.247792] ablkcipher givenc shdesc@1277: a8f68230: 79800010 16860400 5a200010 8210010d ...y...... Z....
[ 149.257477] ablkcipher givenc shdesc@1277: a8f68240: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 149.267204] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.275330] key in @642: a9687b90: 39383736 33323130 37363534 31303938 6789012345678901
[ 149.283486] ablkcipher enc shdesc@1116: a8f68040: b8801211 a100400a 02800020 33323130 .....@.. ...0123
[ 149.292917] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.302335] ablkcipher enc shdesc@1116: a8f68060: 33323130 37363534 31303938 1a200010 012345678901.. .
[ 149.311760] ablkcipher enc shdesc@1116: a8f68070: 8210010d a8080b04 a8080a04 2b120000 ...............+
[ 149.321183] ablkcipher enc shdesc@1116: a8f68080: 69300000 ..0i
[ 149.329618] ablkcipher dec shdesc@1190: a8f68120: b8801214 a100400a 02800020 33323130 .....@.. ...0123
[ 149.339040] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.348460] ablkcipher dec shdesc@1190: a8f68140: 33323130 37363534 31303938 1a200010 012345678901.. .
[ 149.357885] ablkcipher dec shdesc@1190: a8f68150: a1004003 8210010c a0000002 8210110c .@..............
[ 149.367306] ablkcipher dec shdesc@1190: a8f68160: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 149.376777] ablkcipher givenc shdesc@1277: a8f68200: b8801216 a100400a 02800020 33323130 .....@.. ...0123
[ 149.386462] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.396145] ablkcipher givenc shdesc@1277: a8f68220: 33323130 37363534 31303938 10fa0004 012345678901....
[ 149.405828] ablkcipher givenc shdesc@1277: a8f68230: 12f30010 16860800 79800010 16860400 ...........y....
[ 149.415513] ablkcipher givenc shdesc@1277: a8f68240: 5a200010 8210010d a8080b04 a8080a04 .. Z............
[ 149.425194] ablkcipher givenc shdesc@1277: a8f68250: 2b120000 69300000 ...+..0i
[ 149.434261] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.442429] ablkcipher enc shdesc@1116: a8f68040: b880120d a1004006 02800010 33323130 .....@......0123
[ 149.451854] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 1a201010 456789012345.. .
[ 149.461283] ablkcipher enc shdesc@1116: a8f68060: 8210000d a8080b04 a8080a04 2b120000 ...............+
[ 149.470705] ablkcipher enc shdesc@1116: a8f68070: 69300000 ..0i
[ 149.479128] ablkcipher dec shdesc@1190: a8f68120: b880120d a1004006 02800010 33323130 .....@......0123
[ 149.488548] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 1a201010 456789012345.. .
[ 149.497974] ablkcipher dec shdesc@1190: a8f68140: 8210000c a8080b04 a8080a04 2b120000 ...............+
[ 149.507403] ablkcipher dec shdesc@1190: a8f68150: 69300000 ..0i
[ 149.515836] ablkcipher givenc shdesc@1277: a8f68200: b8801213 a1004006 02800010 33323130 .....@......0123
[ 149.525520] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 10fa0004 456789012345....
[ 149.535205] ablkcipher givenc shdesc@1277: a8f68220: 12f30010 16860800 79801010 16860400 ...........y....
[ 149.544890] ablkcipher givenc shdesc@1277: a8f68230: 5a201010 a1000101 8210000d a8080b04 .. Z............
[ 149.554574] ablkcipher givenc shdesc@1277: a8f68240: a8080a04 2b120000 69300000 .......+..0i
[ 149.563949] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.572080] key in @642: a9687b90: 39383736 33323130 67890123
[ 149.579538] ablkcipher enc shdesc@1116: a8f68040: b880120f a1004008 02800018 33323130 .....@......0123
[ 149.588963] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.598385] ablkcipher enc shdesc@1116: a8f68060: 33323130 1a201010 8210000d a8080b04 0123.. .........
[ 149.607806] ablkcipher enc shdesc@1116: a8f68070: a8080a04 2b120000 69300000 .......+..0i
[ 149.616913] ablkcipher dec shdesc@1190: a8f68120: b880120f a1004008 02800018 33323130 .....@......0123
[ 149.626335] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.635761] ablkcipher dec shdesc@1190: a8f68140: 33323130 1a201010 8210000c a8080b04 0123.. .........
[ 149.645222] ablkcipher dec shdesc@1190: a8f68150: a8080a04 2b120000 69300000 .......+..0i
[ 149.654339] ablkcipher givenc shdesc@1277: a8f68200: b8801215 a1004008 02800018 33323130 .....@......0123
[ 149.664026] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.673751] ablkcipher givenc shdesc@1277: a8f68220: 33323130 10fa0004 12f30010 16860800 0123............
[ 149.683444] ablkcipher givenc shdesc@1277: a8f68230: 79801010 16860400 5a201010 a1000101 ...y...... Z....
[ 149.693131] ablkcipher givenc shdesc@1277: a8f68240: 8210000d a8080b04 a8080a04 2b120000 ...............+
[ 149.702812] ablkcipher givenc shdesc@1277: a8f68250: 69300000 ..0i
[ 149.711494] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.719619] key in @642: a9687b90: 39383736 33323130 37363534 31303938 6789012345678901
[ 149.727770] ablkcipher enc shdesc@1116: a8f68040: b8801211 a100400a 02800020 33323130 .....@.. ...0123
[ 149.737221] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.746648] ablkcipher enc shdesc@1116: a8f68060: 33323130 37363534 31303938 1a201010 012345678901.. .
[ 149.756080] ablkcipher enc shdesc@1116: a8f68070: 8210000d a8080b04 a8080a04 2b120000 ...............+
[ 149.765513] ablkcipher enc shdesc@1116: a8f68080: 69300000 ..0i
[ 149.773937] ablkcipher dec shdesc@1190: a8f68120: b8801211 a100400a 02800020 33323130 .....@.. ...0123
[ 149.783374] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.792795] ablkcipher dec shdesc@1190: a8f68140: 33323130 37363534 31303938 1a201010 012345678901.. .
[ 149.803330] ablkcipher dec shdesc@1190: a8f68150: 8210000c a8080b04 a8080a04 2b120000 ...............+
[ 149.815605] ablkcipher dec shdesc@1190: a8f68160: 69300000 ..0i
[ 149.824856] ablkcipher givenc shdesc@1277: a8f68200: b8801217 a100400a 02800020 33323130 .....@.. ...0123
[ 149.834578] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 149.844297] ablkcipher givenc shdesc@1277: a8f68220: 33323130 37363534 31303938 10fa0004 012345678901....
[ 149.854045] ablkcipher givenc shdesc@1277: a8f68230: 12f30010 16860800 79801010 16860400 ...........y....
[ 149.863767] ablkcipher givenc shdesc@1277: a8f68240: 5a201010 a1000101 8210000d a8080b04 .. Z............
[ 149.873474] ablkcipher givenc shdesc@1277: a8f68250: a8080a04 2b120000 69300000 .......+..0i
[ 149.883339] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 149.891512] ablkcipher enc shdesc@1116: a8f68040: b880120d a1004006 02800010 33323130 .....@......0123
[ 149.900955] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 1a200000 456789012345.. .
[ 149.910393] ablkcipher enc shdesc@1116: a8f68060: 8210020d a8080b04 a8080a04 2b120000 ...............+
[ 149.919824] ablkcipher enc shdesc@1116: a8f68070: 69300000 ..0i
[ 149.928273] ablkcipher dec shdesc@1190: a8f68120: b8801210 a1004006 02800010 33323130 .....@......0123
[ 149.937710] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 1a200000 456789012345.. .
[ 149.947137] ablkcipher dec shdesc@1190: a8f68140: a1004003 8210020c a0000002 8210120c .@..............
[ 149.956571] ablkcipher dec shdesc@1190: a8f68150: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 149.966042] ablkcipher givenc shdesc@1277: a8f68200: b8801212 a1004006 02800010 33323130 .....@......0123
[ 149.975734] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 10fa0004 456789012345....
[ 149.985421] ablkcipher givenc shdesc@1277: a8f68220: 12f30000 16860800 79800000 16860400 ...........y....
[ 149.995105] ablkcipher givenc shdesc@1277: a8f68230: 5a200000 8210020d a8080b04 a8080a04 .. Z............
[ 150.004790] ablkcipher givenc shdesc@1277: a8f68240: 2b120000 69300000 ...+..0i
[ 150.013829] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 150.021950] key in @642: a9687b90: 39383736 33323130 67890123
[ 150.029426] ablkcipher enc shdesc@1116: a8f68040: b880120f a1004008 02800018 33323130 .....@......0123
[ 150.038851] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.048278] ablkcipher enc shdesc@1116: a8f68060: 33323130 1a200000 8210020d a8080b04 0123.. .........
[ 150.057742] ablkcipher enc shdesc@1116: a8f68070: a8080a04 2b120000 69300000 .......+..0i
[ 150.066878] ablkcipher dec shdesc@1190: a8f68120: b8801212 a1004008 02800018 33323130 .....@......0123
[ 150.076296] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.085723] ablkcipher dec shdesc@1190: a8f68140: 33323130 1a200000 a1004003 8210020c 0123.. ..@......
[ 150.095149] ablkcipher dec shdesc@1190: a8f68150: a0000002 8210120c a8080b04 a8080a04 ................
[ 150.104572] ablkcipher dec shdesc@1190: a8f68160: 2b120000 69300000 ...+..0i
[ 150.113332] ablkcipher givenc shdesc@1277: a8f68200: b8801214 a1004008 02800018 33323130 .....@......0123
[ 150.123015] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.132696] ablkcipher givenc shdesc@1277: a8f68220: 33323130 10fa0004 12f30000 16860800 0123............
[ 150.142385] ablkcipher givenc shdesc@1277: a8f68230: 79800000 16860400 5a200000 8210020d ...y...... Z....
[ 150.152069] ablkcipher givenc shdesc@1277: a8f68240: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 150.161822] key in @642: a9687b80: 33323130 37363534 31303938 35343332 0123456789012345
[ 150.169945] key in @642: a9687b90: 39383736 33323130 37363534 31303938 6789012345678901
[ 150.178114] ablkcipher enc shdesc@1116: a8f68040: b8801211 a100400a 02800020 33323130 .....@.. ...0123
[ 150.187536] ablkcipher enc shdesc@1116: a8f68050: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.196960] ablkcipher enc shdesc@1116: a8f68060: 33323130 37363534 31303938 1a200000 012345678901.. .
[ 150.206385] ablkcipher enc shdesc@1116: a8f68070: 8210020d a8080b04 a8080a04 2b120000 ...............+
[ 150.215803] ablkcipher enc shdesc@1116: a8f68080: 69300000 ..0i
[ 150.224215] ablkcipher dec shdesc@1190: a8f68120: b8801214 a100400a 02800020 33323130 .....@.. ...0123
[ 150.234041] ablkcipher dec shdesc@1190: a8f68130: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.243498] ablkcipher dec shdesc@1190: a8f68140: 33323130 37363534 31303938 1a200000 012345678901.. .
[ 150.252959] ablkcipher dec shdesc@1190: a8f68150: a1004003 8210020c a0000002 8210120c .@..............
[ 150.262395] ablkcipher dec shdesc@1190: a8f68160: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 150.271925] ablkcipher givenc shdesc@1277: a8f68200: b8801216 a100400a 02800020 33323130 .....@.. ...0123
[ 150.281650] ablkcipher givenc shdesc@1277: a8f68210: 37363534 31303938 35343332 39383736 4567890123456789
[ 150.291388] ablkcipher givenc shdesc@1277: a8f68220: 33323130 37363534 31303938 10fa0004 012345678901....
[ 150.301124] ablkcipher givenc shdesc@1277: a8f68230: 12f30000 16860800 79800000 16860400 ...........y....
[ 150.310876] ablkcipher givenc shdesc@1277: a8f68240: 5a200000 8210020d a8080b04 a8080a04 .. Z............
[ 150.320571] ablkcipher givenc shdesc@1277: a8f68250: 2b120000 69300000 ...+..0i
[ 150.337426] ahash update shdesc@372: a8ec6880: b8800206 1c200018 84400001 a8080a04 ...... ...@.....
[ 150.346684] ahash update shdesc@372: a8ec6890: 2d140000 5c200018 ...-.. \
[ 150.355226] ahash update first shdesc@383: a8ec6940: b8800205 84400005 a8080a04 2d140000 ......@........-
[ 150.364926] ahash update first shdesc@383: a8ec6950: 5c200018 .. \
[ 150.373616] ahash final shdesc@393: a8ec6a00: b8800206 1c200018 84400009 a8080a04 ...... ...@.....
[ 150.382702] ahash final shdesc@393: a8ec6a10: 2d140000 5c200010 ...-.. \
[ 150.391116] ahash digest shdesc@405: a8ec6ac0: b8800205 8440000d a8080a04 2d140000 ......@........-
[ 150.400288] ahash digest shdesc@405: a8ec6ad0: 5c200010 .. \
[ 150.408473] ahash update shdesc@372: a8ec7080: b8800206 1c200018 84400001 a8080a04 ...... ...@.....
[ 150.418493] ahash update shdesc@372: a8ec7090: 2d140000 5c200018 ...-.. \
[ 150.427609] ahash update first shdesc@383: a8ec7140: b8800205 84400005 a8080a04 2d140000 ......@........-
[ 150.440448] ahash update first shdesc@383: a8ec7150: 5c200018 .. \
[ 150.449646] ahash final shdesc@393: a8ec7200: b8800206 1c200018 84400009 a8080a04 ...... ...@.....
[ 150.459176] ahash final shdesc@393: a8ec7210: 2d140000 5c200010 ...-.. \
[ 150.470309] ahash digest shdesc@405: a8ec72c0: b8800205 8440000d a8080a04 2d140000 ......@........-
[ 150.479793] ahash digest shdesc@405: a8ec72d0: 5c200010 .. \
[ 150.488273] ahash update shdesc@372: a97d0880: b8800206 1c20001c 84410001 a8080a04 ...... ...A.....
[ 150.498422] ahash update shdesc@372: a97d0890: 2d140000 5c20001c ...-.. \
[ 150.506928] ahash update first shdesc@383: a97d0940: b8800205 84410005 a8080a04 2d140000 ......A........-
[ 150.516626] ahash update first shdesc@383: a97d0950: 5c20001c .. \
[ 150.525287] ahash final shdesc@393: a97d0a00: b8800206 1c20001c 84410009 a8080a04 ...... ...A.....
[ 150.534357] ahash final shdesc@393: a97d0a10: 2d140000 5c200014 ...-.. \
[ 150.542766] ahash digest shdesc@405: a97d0ac0: b8800205 8441000d a8080a04 2d140000 ......A........-
[ 150.551926] ahash digest shdesc@405: a97d0ad0: 5c200014 .. \
[ 150.560116] ahash update shdesc@372: a8ec7880: b8800206 1c20001c 84410001 a8080a04 ...... ...A.....
[ 150.569297] ahash update shdesc@372: a8ec7890: 2d140000 5c20001c ...-.. \
[ 150.577782] ahash update first shdesc@383: a8ec7940: b8800205 84410005 a8080a04 2d140000 ......A........-
[ 150.587463] ahash update first shdesc@383: a8ec7950: 5c20001c .. \
[ 150.596123] ahash final shdesc@393: a8ec7a00: b8800206 1c20001c 84410009 a8080a04 ...... ...A.....
[ 150.605199] ahash final shdesc@393: a8ec7a10: 2d140000 5c200014 ...-.. \
[ 150.613594] ahash digest shdesc@405: a8ec7ac0: b8800205 8441000d a8080a04 2d140000 ......A........-
[ 150.622753] ahash digest shdesc@405: a8ec7ad0: 5c200014 .. \
[ 150.630980] ahash update shdesc@372: a8ec7880: b8800206 1c200028 84420001 a8080a04 ....(. ...B.....
[ 150.640156] ahash update shdesc@372: a8ec7890: 2d140000 5c200028 ...-(. \
[ 150.648644] ahash update first shdesc@383: a8ec7940: b8800205 84420005 a8080a04 2d140000 ......B........-
[ 150.658329] ahash update first shdesc@383: a8ec7950: 5c200028 (. \
[ 150.666986] ahash final shdesc@393: a8ec7a00: b8800206 1c200028 84420009 a8080a04 ....(. ...B.....
[ 150.676061] ahash final shdesc@393: a8ec7a10: 2d140000 5c20001c ...-.. \
[ 150.684505] ahash digest shdesc@405: a8ec7ac0: b8800205 8442000d a8080a04 2d140000 ......B........-
[ 150.693679] ahash digest shdesc@405: a8ec7ad0: 5c20001c .. \
[ 150.701860] ahash update shdesc@372: a8ec6880: b8800206 1c200028 84420001 a8080a04 ....(. ...B.....
[ 150.711034] ahash update shdesc@372: a8ec6890: 2d140000 5c200028 ...-(. \
[ 150.719524] ahash update first shdesc@383: a8ec6940: b8800205 84420005 a8080a04 2d140000 ......B........-
[ 150.729207] ahash update first shdesc@383: a8ec6950: 5c200028 (. \
[ 150.737870] ahash final shdesc@393: a8ec6a00: b8800206 1c200028 84420009 a8080a04 ....(. ...B.....
[ 150.746945] ahash final shdesc@393: a8ec6a10: 2d140000 5c20001c ...-.. \
[ 150.755351] ahash digest shdesc@405: a8ec6ac0: b8800205 8442000d a8080a04 2d140000 ......B........-
[ 150.764538] ahash digest shdesc@405: a8ec6ad0: 5c20001c .. \
[ 150.772745] ahash update shdesc@372: a8ec7880: b8800206 1c200028 84430001 a8080a04 ....(. ...C.....
[ 150.781970] ahash update shdesc@372: a8ec7890: 2d140000 5c200028 ...-(. \
[ 150.790475] ahash update first shdesc@383: a8ec7940: b8800205 84430005 a8080a04 2d140000 ......C........-
[ 150.800155] ahash update first shdesc@383: a8ec7950: 5c200028 (. \
[ 150.808819] ahash final shdesc@393: a8ec7a00: b8800206 1c200028 84430009 a8080a04 ....(. ...C.....
[ 150.817894] ahash final shdesc@393: a8ec7a10: 2d140000 5c200020 ...- . \
[ 150.826291] ahash digest shdesc@405: a8ec7ac0: b8800205 8443000d a8080a04 2d140000 ......C........-
[ 150.835452] ahash digest shdesc@405: a8ec7ad0: 5c200020 . \
[ 150.843625] ahash update shdesc@372: a8ec6880: b8800206 1c200028 84430001 a8080a04 ....(. ...C.....
[ 150.852796] ahash update shdesc@372: a8ec6890: 2d140000 5c200028 ...-(. \
[ 150.861284] ahash update first shdesc@383: a8ec6940: b8800205 84430005 a8080a04 2d140000 ......C........-
[ 150.870966] ahash update first shdesc@383: a8ec6950: 5c200028 (. \
[ 150.879635] ahash final shdesc@393: a8ec6a00: b8800206 1c200028 84430009 a8080a04 ....(. ...C.....
[ 150.888709] ahash final shdesc@393: a8ec6a10: 2d140000 5c200020 ...- . \
[ 150.897144] ahash digest shdesc@405: a8ec6ac0: b8800205 8443000d a8080a04 2d140000 ......C........-
[ 150.906314] ahash digest shdesc@405: a8ec6ad0: 5c200020 . \
[ 150.932775] key in @642: a9687b80: 03020100 07060504 0b0a0908 0f0e0d0c ................
[ 150.940922] key in @642: a9687b90: 13121110 17161514 1b1a1918 1f1e1d1c ................
[ 150.949096] ablkcipher enc shdesc@1116: a8f68840: b8801211 a100400a 02800020 03020100 .....@.. .......
[ 150.958523] ablkcipher enc shdesc@1116: a8f68850: 07060504 0b0a0908 0f0e0d0c 13121110 ................
[ 150.967955] ablkcipher enc shdesc@1116: a8f68860: 17161514 1b1a1918 1f1e1d1c 1a200000 .............. .
[ 150.977384] ablkcipher enc shdesc@1116: a8f68870: 8210020d a8080b04 a8080a04 2b120000 ...............+
[ 150.986805] ablkcipher enc shdesc@1116: a8f68880: 69300000 ..0i
[ 150.995230] ablkcipher dec shdesc@1190: a8f68920: b8801214 a100400a 02800020 03020100 .....@.. .......
[ 151.004662] ablkcipher dec shdesc@1190: a8f68930: 07060504 0b0a0908 0f0e0d0c 13121110 ................
[ 151.014091] ablkcipher dec shdesc@1190: a8f68940: 17161514 1b1a1918 1f1e1d1c 1a200000 .............. .
[ 151.023557] ablkcipher dec shdesc@1190: a8f68950: a1004003 8210020c a0000002 8210120c .@..............
[ 151.032984] ablkcipher dec shdesc@1190: a8f68960: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 151.042454] ablkcipher givenc shdesc@1277: a8f68a00: b8801216 a100400a 02800020 03020100 .....@.. .......
[ 151.052136] ablkcipher givenc shdesc@1277: a8f68a10: 07060504 0b0a0908 0f0e0d0c 13121110 ................
[ 151.061829] ablkcipher givenc shdesc@1277: a8f68a20: 17161514 1b1a1918 1f1e1d1c 10fa0004 ................
[ 151.071516] ablkcipher givenc shdesc@1277: a8f68a30: 12f30000 16860800 79800000 16860400 ...........y....
[ 151.081200] ablkcipher givenc shdesc@1277: a8f68a40: 5a200000 8210020d a8080b04 a8080a04 .. Z............
[ 151.090884] ablkcipher givenc shdesc@1277: a8f68a50: 2b120000 69300000 ...+..0i
[ 151.100005] key in @642: a9687b80: 00000000 00000000 00000000 00000000 ................
[ 151.108131] key in @642: a9687b90: 00000000 00000000 00000000 00000000 ................
[ 151.116304] ablkcipher enc shdesc@1116: a8f6ac40: b8801211 a100400a 02800020 00000000 .....@.. .......
[ 151.125731] ablkcipher enc shdesc@1116: a8f6ac50: 00000000 00000000 00000000 00000000 ................
[ 151.135151] ablkcipher enc shdesc@1116: a8f6ac60: 00000000 00000000 00000000 1a200000 .............. .
[ 151.144574] ablkcipher enc shdesc@1116: a8f6ac70: 8210020d a8080b04 a8080a04 2b120000 ...............+
[ 151.154000] ablkcipher enc shdesc@1116: a8f6ac80: 69300000 ..0i
[ 151.162435] ablkcipher dec shdesc@1190: a8f6ad20: b8801214 a100400a 02800020 00000000 .....@.. .......
[ 151.171852] ablkcipher dec shdesc@1190: a8f6ad30: 00000000 00000000 00000000 00000000 ................
[ 151.181276] ablkcipher dec shdesc@1190: a8f6ad40: 00000000 00000000 00000000 1a200000 .............. .
[ 151.190708] ablkcipher dec shdesc@1190: a8f6ad50: a1004003 8210020c a0000002 8210120c .@..............
[ 151.200137] ablkcipher dec shdesc@1190: a8f6ad60: a8080b04 a8080a04 2b120000 69300000 ...........+..0i
[ 151.209602] ablkcipher givenc shdesc@1277: a8f6ae00: b8801216 a100400a 02800020 00000000 .....@.. .......
[ 151.219285] ablkcipher givenc shdesc@1277: a8f6ae10: 00000000 00000000 00000000 00000000 ................
[ 151.228971] ablkcipher givenc shdesc@1277: a8f6ae20: 00000000 00000000 00000000 10fa0004 ................
[ 151.238654] ablkcipher givenc shdesc@1277: a8f6ae30: 12f30000 16860800 79800000 16860400 ...........y....
[ 151.248340] ablkcipher givenc shdesc@1277: a8f6ae40: 5a200000 8210020d a8080b04 a8080a04 .. Z............
[ 151.258023] ablkcipher givenc shdesc@1277: a8f6ae50: 2b120000 69300000 ...+..0i
[ 151.267059] sec4_sg_ptr@: a8a2109c: 00000000 38a210bc 00000000 00000000 .......8........
[ 151.275279] sec4_sg_ptr@: a8a210ac: 00000000 3247aa2c 00000010 00000000 ....,.G2........
[ 151.283492] ablkcipher sec4_sg@1671: a8a2109c: 00000000 38a210bc 00000000 00000000 .......8........
[ 151.292654] ablkcipher sec4_sg@1671: a8a210ac: 00000000 3247aa2c 40000010 00000000 ....,.G2...@....
[ 151.301816] asked=16, nbytes16
[ 151.304899] src @1193: a247aa2c: 00000000 00000000 00000000 01000000 ................
[ 151.313164] ablkcipher jobdesc@1696: a8a2101c: b0911c08 38f6ac40 f1400000 38a2109c ....@..8..@....8
[ 151.322345] ablkcipher jobdesc@1696: a8a2102c: 00000010 f8400000 3247aa0c 00000010 ......@...G2....
[ 151.331533] caam_jr 2102000.jr1: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.338623] caam_jr 2102000.jr1: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.346377] dst @975: a247aa0c: 00000000 00000000 00000000 00000000 ................
[ 151.354509] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.362547] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.370346] sec4_sg_ptr@: a8a2115c: 00000000 38a2117c 00000000 00000000 ....|..8........
[ 151.378555] sec4_sg_ptr@: a8a2116c: 00000000 3247aa2c 00000010 00000000 ....,.G2........
[ 151.386766] ablkcipher sec4_sg@1671: a8a2115c: 00000000 38a2117c 00000000 00000000 ....|..8........
[ 151.395933] ablkcipher sec4_sg@1671: a8a2116c: 00000000 3247aa2c 40000010 00000000 ....,.G2...@....
[ 151.405090] asked=16, nbytes16
[ 151.408170] src @1193: a247aa2c: 00000000 00000000 00000000 02000000 ................
[ 151.416416] ablkcipher jobdesc@1696: a8a210dc: b0911c08 38f6ac40 f1400000 38a2115c ....@..8..@.\..8
[ 151.425574] ablkcipher jobdesc@1696: a8a210ec: 00000010 f8400000 3247aa1c 00000010 ......@...G2....
[ 151.434762] caam_jr 2102000.jr1: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.441843] caam_jr 2102000.jr1: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.449611] dst @975: a247aa1c: 00000000 00000000 00000000 00000000 ................
[ 151.457745] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.465784] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.473582] sec4_sg_ptr@: a8a2121c: 00000000 38a2123c 00000000 00000000 ....<..8........
[ 151.481793] sec4_sg_ptr@: a8a2122c: 00000000 3247aa2c 00000010 00000000 ....,.G2........
[ 151.490003] ablkcipher sec4_sg@1671: a8a2121c: 00000000 38a2123c 00000000 00000000 ....<..8........
[ 151.499162] ablkcipher sec4_sg@1671: a8a2122c: 00000000 3247aa2c 40000010 00000000 ....,.G2...@....
[ 151.508323] asked=16, nbytes16
[ 151.511405] src @1193: a247aa2c: 00000000 00000000 00000000 03000000 ................
[ 151.519673] ablkcipher jobdesc@1696: a8a2119c: b0911c08 38f6ac40 f1400000 38a2121c ....@..8..@....8
[ 151.528840] ablkcipher jobdesc@1696: a8a211ac: 00000010 f9400000 38a2122c 00000010 ......@.,..8....
[ 151.538036] caam_jr 2102000.jr1: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.545117] caam_jr 2102000.jr1: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.552884] dst @975: a247aa2c: 00000000 00000000 00000000 03000000 ................
[ 151.561020] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.569053] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.576848] sec4_sg_ptr@: a8a212dc: 00000000 38a212fc 00000000 00000000 .......8........
[ 151.585054] sec4_sg_ptr@: a8a212ec: 00000000 3247aa50 00000010 00000000 ....P.G2........
[ 151.593264] ablkcipher sec4_sg@1671: a8a212dc: 00000000 38a212fc 00000000 00000000 .......8........
[ 151.602425] ablkcipher sec4_sg@1671: a8a212ec: 00000000 3247aa50 40000010 00000000 ....P.G2...@....
[ 151.611583] asked=16, nbytes16
[ 151.614664] src @1193: a247aa50: 00000000 00000000 00000000 00000000 ................
[ 151.622891] ablkcipher jobdesc@1696: a8a2125c: b0911c08 38f68840 f1400000 38a212dc ....@..8..@....8
[ 151.632051] ablkcipher jobdesc@1696: a8a2126c: 00000010 f9400000 38a212ec 00000010 ......@....8....
[ 151.641231] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.648313] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.656082] dst @975: a247aa50: 00000000 00000000 00000000 00000000 ................
[ 151.664217] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.672252] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.680047] sec4_sg_ptr@: a8a2139c: 00000000 38a213bc 00000000 00000000 .......8........
[ 151.688255] sec4_sg_ptr@: a8a213ac: 00000000 3247aa60 00000010 00000000 ....`.G2........
[ 151.696465] ablkcipher sec4_sg@1671: a8a2139c: 00000000 38a213bc 00000000 00000000 .......8........
[ 151.705635] ablkcipher sec4_sg@1671: a8a213ac: 00000000 3247aa60 40000010 00000000 ....`.G2...@....
[ 151.714844] asked=16, nbytes16
[ 151.717932] src @1193: a247aa60: 01000000 00000000 00000000 00000000 ................
[ 151.726193] ablkcipher jobdesc@1696: a8a2131c: b0911c08 38f68840 f1400000 38a2139c ....@..8..@....8
[ 151.735418] ablkcipher jobdesc@1696: a8a2132c: 00000010 f9400000 38a213ac 00000010 ......@....8....
[ 151.744636] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.751723] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.759497] dst @975: a247aa60: 01000000 00000000 00000000 00000000 ................
[ 151.767638] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.775890] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.787641] sec4_sg_ptr@: a8a2145c: 00000000 38a2147c 00000000 00000000 ....|..8........
[ 151.796033] sec4_sg_ptr@: a8a2146c: 00000000 3247aa70 00000010 00000000 ....p.G2........
[ 151.804477] ablkcipher sec4_sg@1671: a8a2145c: 00000000 38a2147c 00000000 00000000 ....|..8........
[ 151.813688] ablkcipher sec4_sg@1671: a8a2146c: 00000000 3247aa70 40000010 00000000 ....p.G2...@....
[ 151.823090] asked=16, nbytes16
[ 151.827121] src @1193: a247aa70: 02000000 00000000 00000000 00000000 ................
[ 151.835427] ablkcipher jobdesc@1696: a8a213dc: b0911c08 38f68840 f1400000 38a2145c ....@..8..@.\..8
[ 151.844824] ablkcipher jobdesc@1696: a8a213ec: 00000010 f9400000 38a2146c 00000010 ......@.l..8....
[ 151.854045] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.861130] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.868910] dst @975: a247aa70: 02000000 00000000 00000000 00000000 ................
[ 151.877051] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.885175] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.893209] sec4_sg_ptr@: a8a2151c: 00000000 38a2153c 00000000 00000000 ....<..8........
[ 151.904014] sec4_sg_ptr@: a8a2152c: 00000000 3247aa50 00000010 00000000 ....P.G2........
[ 151.912269] ablkcipher sec4_sg@1671: a8a2151c: 00000000 38a2153c 00000000 00000000 ....<..8........
[ 151.921520] ablkcipher sec4_sg@1671: a8a2152c: 00000000 3247aa50 40000010 00000000 ....P.G2...@....
[ 151.930725] asked=16, nbytes16
[ 151.933892] src @1193: a247aa50: 54000000 30000000 f47227fc 132a13a9 ...T...0.'r...*.
[ 151.942124] ablkcipher jobdesc@1696: a8a2149c: b0911c08 38f68840 f1400000 38a2151c ....@..8..@....8
[ 151.951455] ablkcipher jobdesc@1696: a8a214ac: 00000010 f9400000 38a2152c 00000010 ......@.,..8....
[ 151.960641] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 151.967723] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 151.975496] dst @975: a247aa50: 54000000 30000000 f47227fc 132a13a9 ...T...0.'r...*.
[ 151.983639] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 151.991756] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 151.999747] sec4_sg_ptr@: a8a215dc: 00000000 38a215fc 00000000 00000000 .......8........
[ 152.010525] sec4_sg_ptr@: a8a215ec: 00000000 3247aa60 00000010 00000000 ....`.G2........
[ 152.018780] ablkcipher sec4_sg@1671: a8a215dc: 00000000 38a215fc 00000000 00000000 .......8........
[ 152.028022] ablkcipher sec4_sg@1671: a8a215ec: 00000000 3247aa60 40000010 00000000 ....`.G2...@....
[ 152.037189] asked=16, nbytes16
[ 152.040376] src @1193: a247aa60: 55000000 30000000 f47227fc 132a13a9 ...U...0.'r...*.
[ 152.048607] ablkcipher jobdesc@1696: a8a2155c: b0911c08 38f68840 f1400000 38a215dc ....@..8..@....8
[ 152.057783] ablkcipher jobdesc@1696: a8a2156c: 00000010 f9400000 38a215ec 00000010 ......@....8....
[ 152.066959] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 152.074047] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 152.081816] dst @975: a247aa60: 55000000 30000000 f47227fc 132a13a9 ...U...0.'r...*.
[ 152.089952] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 152.097984] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 152.105786] sec4_sg_ptr@: a8a2169c: 00000000 38a216bc 00000000 00000000 .......8........
[ 152.113991] sec4_sg_ptr@: a8a216ac: 00000000 3247aa70 00000010 00000000 ....p.G2........
[ 152.122210] ablkcipher sec4_sg@1671: a8a2169c: 00000000 38a216bc 00000000 00000000 .......8........
[ 152.131381] ablkcipher sec4_sg@1671: a8a216ac: 00000000 3247aa70 40000010 00000000 ....p.G2...@....
[ 152.140574] asked=16, nbytes16
[ 152.143662] src @1193: a247aa70: 56000000 30000000 f47227fc 132a13a9 ...V...0.'r...*.
[ 152.151905] ablkcipher jobdesc@1696: a8a2161c: b0911c08 38f68840 f1400000 38a2169c ....@..8..@....8
[ 152.161063] ablkcipher jobdesc@1696: a8a2162c: 00000010 f9400000 38a216ac 00000010 ......@....8....
[ 152.170248] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 152.177329] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 152.185098] dst @975: a247aa70: 56000000 30000000 f47227fc 132a13a9 ...V...0.'r...*.
[ 152.193233] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 152.201265] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 152.209063] sec4_sg_ptr@: a8a2175c: 00000000 38a2177c 00000000 00000000 ....|..8........
[ 152.217271] sec4_sg_ptr@: a8a2176c: 00000000 3247aa50 00000010 00000000 ....P.G2........
[ 152.225496] ablkcipher sec4_sg@1671: a8a2175c: 00000000 38a2177c 00000000 00000000 ....|..8........
[ 152.234661] ablkcipher sec4_sg@1671: a8a2176c: 00000000 3247aa50 40000010 00000000 ....P.G2...@....
[ 152.243817] asked=16, nbytes16
[ 152.246898] src @1193: a247aa50: cb62f438 e21f93b2 5caa49e0 8fabde4a 8.b......I.\J...
[ 152.255127] ablkcipher jobdesc@1696: a8a216dc: b0911c08 38f68840 f1400000 38a2175c ....@..8..@.\..8
[ 152.264286] ablkcipher jobdesc@1696: a8a216ec: 00000010 f9400000 38a2176c 00000010 ......@.l..8....
[ 152.273463] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 152.280545] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 152.288313] dst @975: a247aa50: cb62f438 e21f93b2 5caa49e0 8fabde4a 8.b......I.\J...
[ 152.296447] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 152.304485] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 152.312285] sec4_sg_ptr@: a8a2181c: 00000000 38a2183c 00000000 00000000 ....<..8........
[ 152.320502] sec4_sg_ptr@: a8a2182c: 00000000 3247aa60 00000010 00000000 ....`.G2........
[ 152.328720] ablkcipher sec4_sg@1671: a8a2181c: 00000000 38a2183c 00000000 00000000 ....<..8........
[ 152.337884] ablkcipher sec4_sg@1671: a8a2182c: 00000000 3247aa60 40000010 00000000 ....`.G2...@....
[ 152.347077] asked=16, nbytes16
[ 152.350163] src @1193: a247aa60: ca62f438 e21f93b2 5caa49e0 8fabde4a 8.b......I.\J...
[ 152.358402] ablkcipher jobdesc@1696: a8a2179c: b0911c08 38f68840 f1400000 38a2181c ....@..8..@....8
[ 152.367568] ablkcipher jobdesc@1696: a8a217ac: 00000010 f9400000 38a2182c 00000010 ......@.,..8....
[ 152.376748] caam_jr 2101000.jr0: ablkcipher_encrypt_done 962: err 0x20000e0f
[ 152.383830] caam_jr 2101000.jr0: 20000e0f: CCB: desc idx 14: : Invalid CHA selected.
[ 152.391602] dst @975: a247aa60: ca62f438 e21f93b2 5caa49e0 8fabde4a 8.b......I.\J...
[ 152.399736] cryptodev: openssl[3535] (waitfor:291): error from async request: 536874511
[ 152.407770] cryptodev: openssl[3535] (hash_n_crypt:98): CryptoAPI failure: 536874511
[ 152.415565] sec4_sg_ptr@: a8a218dc: 00000000 38a218fc 00000000 00000000 .......8........
[ 152.423771] sec4_sg_ptr@: a8a218ec: 00000000 3247aa70 00000010 00000000 ....p.G2........
[ 152.431987] ablkcipher sec4_sg@1671: a8a218dc: 00000000 38a218fc 00000000 00000000 .......8........
[ 152.441149] ablkcipher sec4_sg@1671: a8a218ec: 00000000 3247aa70 40000010 00000000 ....p.G2...@....
[ 152.450307] asked=16, nbytes16

 

 

0 Kudos
3 Replies

348 Views
b36401
NXP TechSupport
NXP TechSupport

One can refer to "i.MX Encrypted Storage Using CAAM Secure Keys" Application Note:
https://www.nxp.com/docs/en/application-note/AN12714.pdf

0 Kudos

336 Views
RSD
Contributor I

Sorry but I don't see the link with my issue.

As far I know, your AN is about DM crypt , not using openssl for basic aes-128-cbc for example. 

 

I tested on a wandboard with a 5.4.86 mainline kernel and it works.

for both linux 4.14 and 5.4 imx branches, if I disable some CAAM features in dtsi (see below), errors disapear BUT performances are ugly... => it looks like a bad pure SW encryption (CPU load=100% and bandwidth worst than pure SW)

 

imx6qdl.dtsi

		caam_sm: caam-sm@100000 {
			compatible = "fsl,imx6q-caam-sm";
			reg = <0x100000 0x4000>;
		};

			irq_sec_vio: caam_secvio {
				compatible = "fsl,imx6q-caam-secvio";
				interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
				jtag-tamper = "disabled";
				watchdog-tamper = "enabled";
				internal-boot-tamper = "enabled";
				external-pin-tamper = "disabled";
			};

			caam_snvs: caam-snvs@20cc000 {
				compatible = "fsl,imx6q-caam-snvs";
				reg = <0x20cc000 0x4000>;
			};

 

 

 

0 Kudos

246 Views
b36401
NXP TechSupport
NXP TechSupport

We have no exact numbers for CAAM performance. Sorry for the inconvenience.
However one can refer to i.MX6 CAAM performance benchmark test code:
https://community.nxp.com/t5/iMX-and-Vybrid-Support/i-MX6S-CAAM-performance-benchmark-test-code/m-p/...

0 Kudos