| 전자부품 데이터시트 검색엔진 |
|
AN3270 데이터시트(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3270 데이터시트(HTML) 19 Page - STMicroelectronics |
|
19 / 23 page ![]() 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). |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |