Hi igorpadykov,
Thanks for those post, I have already read them, though. What I am looking for, is a way to encrypt / decrypt data from uboot using the OTPMK. dek blobing does not work for me because
* It is not a encryption (it generates a key, encrypt that key with the OTPKM, and encrypt the DEK with the generated key)
* It only works for some data lenghts
* It is not reversible on uboot (it is reversible in theory, but it is not implemented, right?)
What I want is to use the CAAM from uboot to encrypt/decrypt any data using AES-128/192 or 256 and the OTPMK as key. Is that possibe? How to do that?