草庐IT

Problems caused by variable without initialization value

Problemdescriptionunsignedcharkey[16]={0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};unsignedcharin[16]={0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};unsignedcharout[16];intoutlen;intret;ret=aes_decrypt_ecb(key,sizeof(key),in,siz

Problems caused by variable without initialization value

Problemdescriptionunsignedcharkey[16]={0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};unsignedcharin[16]={0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};unsignedcharout[16];intoutlen;intret;ret=aes_decrypt_ecb(key,sizeof(key),in,siz