LS1021a TWR Eva
Kernel 4.19 Debian distro
I am trying to use AES256-GCM crypto mechanism to achieve encryption and decryption on my eva kit.
But when I run
if (crypto_aead_aes256gcm_is_available() == 0) in C it always return true in this case.
Does any one know if 1021a supports this methods or not ?
If so how to make it available?
Please refer to "220.127.116.11 Hardware Offloading with OpenSSL" in LSDK1909 user manual which could be downloaded from Layerscape SDK | NXP
$ openssl enc -aes-256-gcm -salt -in data.txt -out data.txt.enc
$ openssl enc -aes-256-gcm -d -in data.txt.enc -out data.txt
It shows me "enc: AEAD ciphers not supported"
In order to make AES-256-gcm to work what modules in .conf do I need to enable ? I know the caam_jr does support the gcm(aes) which has loaded on my device
The question really comes to :
AES-256-GCM and gcm(aes) are the same thing ?
As the "true" AEAD contains GCM-AES.
according to table 57
Job ring interfaces does enable the gcm(aes)