Check-in [4c806fd6da]
Overview
Comment:Upgraded AES to get rid of a warning
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4c806fd6daed712eba77e29da2293245835b8547e7c63283bdb57d77860d8aee
User & Date: rkeene on 2019-01-22 17:59:04
Other Links: manifest | tags
Context
2019-01-22
18:26
Better formatting of data from wallets check-in: c77f5a51cd user: rkeene tags: trunk
17:59
Upgraded AES to get rid of a warning check-in: 4c806fd6da user: rkeene tags: trunk
17:55
Check to see if -mmpx can actually be linked in check-in: ad21e0c8c7 user: rkeene tags: trunk
Changes

Modified vendor/aes/aes.c from [3eb739bb6b] to [179521f7dd].

428
429
430
431
432
433
434

435
436
437
438
439
440
441
  // The last round is given below.
  // The MixColumns function is not here in the last round.
  SubBytes(state);
  ShiftRows(state);
  AddRoundKey(Nr, state, RoundKey);
}


static void InvCipher(state_t* state,uint8_t* RoundKey)
{
  uint8_t round = 0;

  // Add the First round key to the state before starting the rounds.
  AddRoundKey(Nr, state, RoundKey); 








>







428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
  // The last round is given below.
  // The MixColumns function is not here in the last round.
  SubBytes(state);
  ShiftRows(state);
  AddRoundKey(Nr, state, RoundKey);
}

#if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1)
static void InvCipher(state_t* state,uint8_t* RoundKey)
{
  uint8_t round = 0;

  // Add the First round key to the state before starting the rounds.
  AddRoundKey(Nr, state, RoundKey); 

452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
  
  // The last round is given below.
  // The MixColumns function is not here in the last round.
  InvShiftRows(state);
  InvSubBytes(state);
  AddRoundKey(0, state, RoundKey);
}


/*****************************************************************************/
/* Public functions:                                                         */
/*****************************************************************************/
#if defined(ECB) && (ECB == 1)









|







453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
  
  // The last round is given below.
  // The MixColumns function is not here in the last round.
  InvShiftRows(state);
  InvSubBytes(state);
  AddRoundKey(0, state, RoundKey);
}
#endif // #if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1)

/*****************************************************************************/
/* Public functions:                                                         */
/*****************************************************************************/
#if defined(ECB) && (ECB == 1)


Modified vendor/aes/version from [29983c671d] to [c1caa18b6b].

1
https://github.com/kokke/tiny-AES-c/commit/0677e48a4980cc3695bc0f4dab89bad8708d16ea
|
1
https://github.com/kokke/tiny-AES-c/commit/ce24c0db9d7543787e2571dd316c1225ada865ef