Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN4240 Fiches technique(PDF) 19 Page - STMicroelectronics

No de pièce AN4240
Description  This application note provides an easy introduction to the usage
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4240 Fiches technique(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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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