This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C129EXL: Wrong output Data Encryption

Part Number: EK-TM4C129EXL


We are testing AES CBC 128bit encryption on TI board p/n EK-TM4C129EXL.
But the output data which we got from MCU is different from using Online web tools( 3 web tools got the same output data). Details as following.

AES CBC 128bit
Key : 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF,0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF
IV : 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF,0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF
Data : 0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF,0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF
               
Output data from MCU : 0x30 0x58 0x53 0x5f 0x19 0xc0 0x82 0xa2 0x26 0xa6 0x41 0xa6 0xf3 0x24 0xcf 0xe6
Output data from Web online tools(3 webs) : 79abc5c23868ad84d388ce61110a6274

Our source code is attached. Could you please help to advise why output data encrypt by MCU is differ from other Online web tools ? Thank a lot. 

FYI, We used 3 Online Web tools below to compare with Output data from MCU. 
(1)http://extranet.cryptomathic.com/aescalc/index?key=0123456789ABCDEF0123456789ABCDEF&iv=0123456789ABCDEF0123456789ABCDEF&input=0123456789ABCDEF0123456789ABCDEF&mode=cbc&action=Encrypt&output=A1F6258C877D5FCD8964484538BFC92C
(2)http://www.cryptogrium.com/aes-cbc.html
(3)http://aes.online-domain-tools.com/     

AES.zip