secure-snmp:~# keyctl add secure mykey "new 32" @u
[ 413.251890] secure_key: get_random fail (-22)
[ 413.252265] caam_jr 30902000.jr: Unable to find request type
add_key: Invalid argument
secure-snmp:~# keyctl add secure mykey "new 32" @s
[ 422.051892] secure_key: get_random fail (-22)
[ 422.052256] caam_jr 30902000.jr: Unable to find request type
add_key: Invalid argument
secure-snmp:~#
@bert-qin
Hello,
Please check environment settings, using recommendations of
the documents, linked below. Also, please use keyctl_caam of Your
release - for example - https://source.codeaurora.org/external/imx/keyctl_caam/?h=imx_5.4.70_2.3.0
"Demo Application to Generate Red/Black Blobs Using CAAM and Encrypt/Decrypt Data"
https://www.nxp.com/webapp/Download?colCode=AN12554
"i.MX Encrypted Storage Using CAAM Secure Keys"
https://www.nxp.com/webapp/Download?colCode=AN12714
https://source.codeaurora.org/external/imxsupport/imx_sec_apps/tree/demo-caam-blobs/README.txt
Regards,
Yuri.