cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Pa.6
Associate

Can anyone help me with this,I have attached the code below.

Thanks in Advance

1 REPLY 1

> 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