数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3270 数据表(PDF) 4 Page - STMicroelectronics

部件名 AN3270
功能描述  Using the STM8L16x AES hardware accelerator
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3270 数据表(HTML) 4 Page - STMicroelectronics

  AN3270 Datasheet HTML 1Page - STMicroelectronics AN3270 Datasheet HTML 2Page - STMicroelectronics AN3270 Datasheet HTML 3Page - STMicroelectronics AN3270 Datasheet HTML 4Page - STMicroelectronics AN3270 Datasheet HTML 5Page - STMicroelectronics AN3270 Datasheet HTML 6Page - STMicroelectronics AN3270 Datasheet HTML 7Page - STMicroelectronics AN3270 Datasheet HTML 8Page - STMicroelectronics AN3270 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 23 page
background image
AES hardware accelerator operation modes
AN3270
4/23
Doc ID 17919 Rev 2
Once configured and enabled, the AES goes through three phases:
●
Input phase: data (plain text, cipher text or key) are written in the AES Data Input
Register (AES_DINR). This phase can be carried-out either by the CPU or by Direct
Memory Access (DMA).
●
Computation phase: the AES hardware accelerator performs the AES operation
(encryption, decryption...). Once this phase ends, the Computation Complete Flag is
set. An interrupt can be generated if enabled using Computation Complete Interrupt
Enable bit (CCIE).
●
Output phase: the application can read the Data Output Register (AES_DOUTR). Like
the input phase, this task can be performed by the CPU or by DMA.
1.1
AES encryption mode
In this mode, the AES accelerator performs the encryption of a 128-bit plain text using the
provided 128-bit key to compute the cipher text.
In the example below, the plain text “STM32L and STM8L” is encrypted using the key “ultra-
low power.”. The cipher text, computed by the AES hardware accelerator, in ASCII format is
"ö!?ø¯Àþ6¸•rËѨ" and in hex format is “22 F6 21 81 F8 AF C0 FE 03 36 B8 95 72 CB D1 A8”.
Figure 2.
AES hardware accelerator: encryption mode
The AES takes 892 clock cycles to encrypt one 128-bit block.
To perform text encryption, follow the algorithm given in the flowchart below.
MS19716V1
AES hardware accelerator:
Encryption mode
ö!ø¯Àþ?6¸•rËѨ
128-bit cipher text
Encryption Key:
“ultra-low power.”
STM32L and STM8L
128-bit plain text



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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