Andy says: unsigned short x1a0[8]; unsigned char cle[17]; for (j=0;j<=16;j++) { cle[j]=0; } for (j=0;j<=8;j++) { x1a0[j]=0; } The array initialisation of x1a0[] goes out of bounds. Should x1a0 be defined as 9 bytes long, or should the for() loop only be initialising a byte less?
ප්රවර්ග Analog C++ Computing Encryption Home Networking IPTV (Multicast/Unicast) Java Networking PIC Micro PIC16 PIC18 Ubuntu Webserver Windows Wordpress
ටැගamazon BubbleUPnP comhem digitalocean ec2 Eigen headless iptv multicast OpenMP sverige tele2 telenor telia ubuntu unicast Visual Studio
very fine
very good. I’ll try to try with another kind of compiler and micro’s
Pingback: Types of Cryptography for a 4-8 bit microcontroller | CL-UAT
unsigned short x1a0[8];
unsigned char cle[17];
for (j=0;j<=16;j++) {
cle[j]=0;
}
for (j=0;j<=8;j++) {
x1a0[j]=0;
}
The array initialisation of x1a0[] goes out of bounds.
Should x1a0 be defined as 9 bytes long, or should the for() loop only be initialising a byte less?