Skip to content

4 thoughts on “(English) Simple Encryption Test with PIC microcontrollers

  1. Pingback: Types of Cryptography for a 4-8 bit microcontroller | CL-UAT

  2. 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?

    පිළිතුරු සැපයීම

Andy වෙත ප්‍රතිචාරයක් සටහන් කරන්න ප්‍රතිචාරය අවලංගු කරන්න

ඔබගේ ඊමේල් ලිපිනය ප්‍රසිද්ධ කරන්නේ නැත. අත්‍යාවශ්‍යයය ක්ෂේත්‍ර සලකුණු කොට ඇත *

This site uses Akismet to reduce spam. Learn how your comment data is processed.