HI,
I'm working with STM32F103R8 on AES .The input key which I enter is not stored properly I tried by simply displaying the key through UART.Here I missed the 13th to 16th elements.This happens only for a 32byte array.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-06 5:31 AM
Can anyone help me with this,I have attached the code below.
Thanks in Advance
Labels:
- Labels:
-
Cryptography
-
STM32F1 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-06 5:40 AM
> char temp[16]= {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f};
Trying to squeeze 32 elements into an array declared as [16] is not likely to work.
I wonder what did the compiler say, exactly.
JW
