From: Patrick Georgi <patrick@georgi-clan.de>
To: grub-devel@gnu.org
Subject: Re: Strong Crypto Support for GRUB2
Date: Mon, 03 Sep 2007 11:42:53 +0200 [thread overview]
Message-ID: <fbgkun$jkv$1@sea.gmane.org> (raw)
In-Reply-To: <20070902194110.GA8231@thorin>
Robert Millan schrieb:
>> +/*
>> + * Forward S-box
>> + */
>> +static const uint8 FSb[256] =
>> +{
>> + 0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5,
>> + 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
>> + 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0,
...
>> + 0x9B, 0x1E, 0x87, 0xE9, 0xCE, 0x55, 0x28, 0xDF,
>> + 0x8C, 0xA1, 0x89, 0x0D, 0xBF, 0xE6, 0x42, 0x68,
>> + 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16
>> +};
>
> This (and similar binary blobs) seems like a problem. What do these numbers
> mean? If the spec defines a simple algorithm to generate them, a comment
> with its implementation would be nice to have (e.g. like in md5sum.c from
> coreutils).
It's the common distribution form, and not supposed to be edited, as the
algorithm relies on that particular table layout.
from the header of that file:
>> + * FIPS-197 compliant AES implementation
reasonably states where to get it from - maybe extend it with
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf as an actual
pointer, and that table with "taken from page 16 of the spec"
The original AES paper defined some criteria on s-box design and a bunch
of equations on how they do it - but that's not enough information to
create _this_ particular (ie. the standard's) table.
Regards,
Patrick Georgi
next prev parent reply other threads:[~2007-09-03 9:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-02 12:17 Strong Crypto Support for GRUB2 Simon Peter
2007-09-02 16:05 ` Robert Millan
2007-09-02 17:25 ` Simon Peter
2007-09-02 19:41 ` Robert Millan
2007-09-02 20:53 ` Simon Peter
2007-09-02 23:05 ` Robert Millan
2007-09-03 18:51 ` Simon Peter
2007-11-10 17:20 ` Marco Gerards
2007-09-03 9:42 ` Patrick Georgi [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-09-13 9:16 Simon Peter
2007-11-10 17:22 ` Marco Gerards
2008-07-20 23:49 Fw: " Simon Peter
2008-07-21 13:48 ` Colin D Bennett
2008-07-21 20:38 ` Simon Peter
2008-07-22 22:12 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fbgkun$jkv$1@sea.gmane.org' \
--to=patrick@georgi-clan.de \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.