![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 101](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827101.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
101 of 1441
NXP Semiconductors
UM10503
Chapter 7: LPC43Sxx Boot ROM for secure parts
Fig 26. Image encryption
encrypt data with
CBC AES
AES key = User Key
IV = AES
-1
(User Key,1)
512B
512B
<512B
512B
0x3456
789A
encrypt header with AES
AES key = User Key
IV = 0
calculate CMAC
AES key = User Key
IV = 0
define temporary
header: use fixed
Hash value
MAC
encrypt header with AES
AES key = User Key
IV = 0
1
2
3
4
5
6
7
partition data in
512 Byte frames
precede data
with final header
HASH
VALUE
16 + 512* HASH_SIZE
P
A
D
512B
ENCRYPTION
make final header;
insert calculated
HASH_VALUE