i.MX93 encrypted linux

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

i.MX93 encrypted linux

461件の閲覧回数
spawn
Contributor III

Hello,

I enabled secure-boot on my board, the bootloader containers
and linux are signed. The SRK fuses are configured, ahab_status returns
no errror, and auth_cntr successfully authenticate linux and then the
boot command succeed.


Now that I added the rootfs decryption key to the initramfs
that is embedded into the linux-dtb-initramfs container, I need to
encrypt this container.


I added the encryption command "[Install Secret Key] ... " to
the CSF file, signed+encrypted the linux-dtb-initramfs container using
CST, generated the blob on the board using the `dek_blob` command, then
added this 72-bytes blob to the signed+encrypted linux-dtb-initramfs
container to the offset returned by CST.


But now uboot is not happy and returns an error "Error:
ele_verify_image: ret -110, img_id 0, response 0x1". Do you know what is the problem ?

0 件の賞賛
返信
2 返答(返信)

443件の閲覧回数
spawn
Contributor III

After more digging... I does not seem to be possible to use ELE through keyctl. What's left is the possibility to use keyctl with TEE. I will try that.

0 件の賞賛
返信

456件の閲覧回数
spawn
Contributor III

Unless its not possible to encrypt linux ? in which case the rootfs decryption key must not be stored in the initramfs but in ELE through keyctl ?

0 件の賞賛
返信