Encrypt file with imx6 caam

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Encrypt file with imx6 caam

1,703件の閲覧回数
achestnov
Contributor I

Hi!


I  am looking for an example to encrypt and save a file with  individual aes key ( derived from internal imx6 key something similar)

It will be helpful if someone can point to some Documentations or Examples.

Here is a short description of the tasks I'm trying to achieve:

1. Encrypt a file and generate a blob:

    Eg: encrypt.sh -f fileToEncrypt -o Blobfile
2. Decrypt the blob to generate the file:

    Eg: decrypt.sh -i Blob  -o decryptedFile

Alternately:

encrypt.sh -i "TextToEncrypt" -o Blobfile
decrypt.sh -o Blobfile  > decryptedFile

My goal is to create an encrypted file which cannot be decrypted on any other CPU.
Goal. It's schould not possible to decrypt the File on other CPU.

Many Thanks,


PS: I can't use OpenSSL and I don't want to encrypt the whole Image, only one file.

タグ(3)
0 件の賞賛
返信
1 返信

1,298件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  please look at the following

Example code on blob generation and usage on i.MX6UL platform 

Have a great day,

Yuri

 

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 件の賞賛
返信