Secure Bootloader AES help

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Secure Bootloader AES help

跳至解决方案
1,530 次查看
marcobologna
Contributor II

Hello!

I would like to use on kinetis KV11Z and MK22FX the bootloader with security aes. 
When I try to compile, it asks me for the file aes_security.h and I can't find it. 
Can anyone help me? 
Is there a step by step tutorial that helps to implement security aes in bootloader 2.5?
Thanks in advance.
Regards
Marco
标签 (1)
0 项奖励
1 解答
1,370 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

MCUboot has been integrated into SDK. You can find this file in SDK_2.6.0_TWR-K22F120M\middleware\mcu-boot\tools\tools\elftosb\common

Regards,

Jing

在原帖中查看解决方案

4 回复数
1,370 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi Macro,

aes_security.h and aes_security.c use MMCAU. This is a special hardware that KV11 and K22 haven't.You can only use software encryption and decryption. The code is in aes128_key_wrap_unwrap.c

Regards,

Jing

0 项奖励
1,370 次查看
marcobologna
Contributor II

Dear Jing

Thanks for your reply.

The aes128_key_wrap_unwrap.c is missing in the MCU-BOOT v 2.5  source code. How I can find it and how I can insert it? How use it?

Regards

Marco

0 项奖励
1,371 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi,

MCUboot has been integrated into SDK. You can find this file in SDK_2.6.0_TWR-K22F120M\middleware\mcu-boot\tools\tools\elftosb\common

Regards,

Jing

1,370 次查看
marcobologna
Contributor II

Hi Jing,

Thanks for your help. We solved the problem.

Best regards

Marco

0 项奖励