Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4240 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN4240
Description  This application note provides an easy introduction to the usage
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4240 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN4240 Datasheet HTML 15Page - STMicroelectronics AN4240 Datasheet HTML 16Page - STMicroelectronics AN4240 Datasheet HTML 17Page - STMicroelectronics AN4240 Datasheet HTML 18Page - STMicroelectronics AN4240 Datasheet HTML 19Page - STMicroelectronics AN4240 Datasheet HTML 20Page - STMicroelectronics AN4240 Datasheet HTML 21Page - STMicroelectronics AN4240 Datasheet HTML 22Page - STMicroelectronics AN4240 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 30 page
background image
Doc ID024209 Rev 2
19/30
AN4240
Application code structure
where:
Figure 14. Locator memory setup
Once the BOOT_MAC_KEY is loaded in the device, the CSE is able to calculate the CMAC
of the secure boot as defined in the startup file after a first reset. With a second reset the
CSE will check if the content of the flash has been modified, comparing the CMAC
previously calculated over the authenticated code versus the new CMAC calculated over
the same flash content. If they match the CSE release a Secure Boot OK.
5.2.7
Demo application code
As described before the last project allows, once CSE has released a secure boot, to use
the cryptographic keys to encrypt and decrypt a logo.
The following lines of code permit the encryption and decryption commands using the ECB
and CBC cipher modes over a preloaded image.
The Cryptographic key used, is the KEY1 which has the KEY USAGE flag equal to 0 in
order to be used for encryption/decryption feature.
For the CBC cipher mode, an initialize vector is used to add more entropy to the process.
The st_Bitmap is the ST logo of 1800 blocks size obtained using an image bitmap converter.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com