[Forensics-changes] [aeskeyfind] 01/01: Fix erroneous previous sbox patch

Samuel Henrique samueloph-guest at moszumanska.debian.org
Sun Jan 1 22:23:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

samueloph-guest pushed a commit to branch debian
in repository aeskeyfind.

commit 41e013ae57049afd418fadb9fbf21bd7bf0f13aa
Author: Samuel Henrique <samueloph at gmail.com>
Date:   Sun Jan 1 20:22:53 2017 -0200

    Fix erroneous previous sbox patch
---
 debian/patches/sbox-size.patch | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/debian/patches/sbox-size.patch b/debian/patches/sbox-size.patch
index 7b7c88a..6c4fd09 100644
--- a/debian/patches/sbox-size.patch
+++ b/debian/patches/sbox-size.patch
@@ -1,16 +1,16 @@
 Description: Fix sbox array size
  See #692293 for details.
 Author: Samuel Henrique <samueloph at gmail.com>
-Index: aeskeyfind/aes.c
+Index: aeskeyfind/aes.h
 ===================================================================
---- aeskeyfind.orig/aes.c
-+++ aeskeyfind/aes.c
+--- aeskeyfind.orig/aes.h
++++ aeskeyfind/aes.h
 @@ -4,7 +4,7 @@
+ typedef uint32_t aeskey_t[4];
+ typedef uint32_t keyexp_t[44];
  
- #include "util.h"
+-extern uint8_t sbox[255];
++extern uint8_t sbox[256];
+ extern uint8_t rcon[255];
  
--uint8_t sbox[256] = {
-+uint8_t sbox[255] = {
-   //0     1    2      3     4    5     6     7      8    9     A      B    C     D     E     F
-   0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, //0
-   0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, //1
+ // Perform the AES key core operation on a word.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/aeskeyfind.git



More information about the forensics-changes mailing list