Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN3270 Scheda tecnica(PDF) 12 Page - STMicroelectronics

Il numero della parte AN3270
Spiegazioni elettronici  Using the STM8L16x AES hardware accelerator
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3270 Scheda tecnica(HTML) 12 Page - STMicroelectronics

Back Button AN3270 Datasheet HTML 8Page - STMicroelectronics AN3270 Datasheet HTML 9Page - STMicroelectronics AN3270 Datasheet HTML 10Page - STMicroelectronics AN3270 Datasheet HTML 11Page - STMicroelectronics AN3270 Datasheet HTML 12Page - STMicroelectronics AN3270 Datasheet HTML 13Page - STMicroelectronics AN3270 Datasheet HTML 14Page - STMicroelectronics AN3270 Datasheet HTML 15Page - STMicroelectronics AN3270 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 23 page
background image
AES hardware accelerator operation modes
AN3270
12/23
Doc ID 17919 Rev 2
EK is a 16-byte buffer containing the Encryption Key.
PT is a 16-byte containing the Plain Text.
CT is 16-byte containing the Cipher Text.
Note:
Refer to the AES_EncryptDecrypt example available in the STM8L15x_StdPeriph_Lib
firmware package for an example of implementation in C language.
1.5
Decryption mode vs. key derivation and decryption mode
The AES hardware accelerator support two methods for decrypting a cipher text:
●
Key derivation and decryption mode which requires the encryption key.
●
Decryption mode which requires the decryption key that must previously be computed
using the key derivation mode.
The former takes 1228 clock cycles for one 128-bit data block but the latter takes only 892
clock cycles for the same data block length.
Key derivation and decryption modes are useful when the data length is greater than 128-
bit. In the first step the decryption key is computed using key derivation mode then data are
decrypted using decryption mode.
Example: The length of the data to be encrypted is 160 bytes (128-bit * 10). The formulas
below can be used to determine the processing time for both methods:
●
Key derivation and decryption mode method:
processing time = number of 128-bit blocks * processing time of single block = 10 *
1228 = 12280 clock cycles
●
Decryption mode + Key derivation mode method:
processing time = key derivation processing time + number of 128-bit blocks *
processing time of single block = 320 + 10 *892 = 9240 clock cycles
This shows that it is better to use the combined key derivation and decryption mode
when processing multiple blocks.



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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