Secure Bootloader AES help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Secure Bootloader AES help

Jump to solution
2,033 Views
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
Labels (1)
0 Kudos
Reply
1 Solution
1,873 Views
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

View solution in original post

4 Replies
1,873 Views
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 Kudos
Reply
1,873 Views
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 Kudos
Reply
1,874 Views
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,873 Views
marcobologna
Contributor II

Hi Jing,

Thanks for your help. We solved the problem.

Best regards

Marco

0 Kudos
Reply