Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN3270 Arkusz danych(PDF) 19 Page - STMicroelectronics

Numer części AN3270
Szczegółowy opis  Using the STM8L16x AES hardware accelerator
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3270 Arkusz danych(HTML) 19 Page - STMicroelectronics

Back Button AN3270 Datasheet HTML 15Page - STMicroelectronics AN3270 Datasheet HTML 16Page - STMicroelectronics AN3270 Datasheet HTML 17Page - STMicroelectronics AN3270 Datasheet HTML 18Page - STMicroelectronics AN3270 Datasheet HTML 19Page - STMicroelectronics AN3270 Datasheet HTML 20Page - STMicroelectronics AN3270 Datasheet HTML 21Page - STMicroelectronics AN3270 Datasheet HTML 22Page - STMicroelectronics AN3270 Datasheet HTML 23Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 19 / 23 page
background image
AN3270
AES block processing
Doc ID 17919 Rev 2
19/23
/* Pad the buffer with defined pad character */
while(counter < (nbrblocks + 1) * 16)
{
pText[counter] = PAD_CHARACTER;
counter++;
}
Another buffer is created dynamically to store the result of encryption or decryption
(depending on the user selection)
if (CryptoMode == CRYPTO_MODE_ENCRYPTION)
{
/* Pad the received buffer */
BufferInit(RxBuffer, &TextSize);
/* PlainText points at the received buffer */
PlainText = RxBuffer;
/* Allocate memory space */
CipherText = (uint8_t*) malloc(TextSize);
......
......
else
{
/* Pad the received buffer */
BufferInit(RxBuffer, &TextSize);
/* CipherText points at the received buffer */
CipherText = RxBuffer1;
/* Allocate memory space */
PlainText = (uint8_t*) malloc(TextSize);
......
......
Once the input text is encrypted or decrypted, both plain text and cipher text are displayed.
Plain text is displayed in ASCII format and the cipher text is displayed in both ASCII and hex
format (because cipher text may include non-printable characters).



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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