I installed the DCP driver into buildroot.
Is it possible to use the DCP engine of the IMX28 to encrypt data ?
If yes, do you have a code example ?
Thanks
Best
Hi g__
one can look at below dcp example:
also one can consider cryptodev-linux/test:
https://github.com/cryptodev-linux/cryptodev-linux
Some customers tested on i.MX6ULL board, which has the same DCP module.
In Kernel Configuration, you need exclude below option (default <Y>):
Cryptographic API ---> Disable run-time self tests
The result is shown below when insert the tcrypt.ko module:
# insmod tcrypt.ko mode=10
insmod: ERROR: could not insert module tcrypt.ko: Resource temporarily unavailable
# cat /proc/interrupts
...
236: 72 GPC 46 Level dcp-vmi-irq
237: 2 GPC 47 Level dcp-irq
Best regards
igor