[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Not getting the correct result with SHA3
From: Marlon Smith <marlon.smith10 () gmail ! com>
Date: 2016-08-29 20:28:36
Message-ID: 1472502516.26534.6.camel () marlon-Z68X-UD3H-B3
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks for the responses guys. Looks like this is all figured out now.
On Mon, 2016-08-29 at 20:44 +0300, Lauri Kasanen wrote:
> On Mon, Aug 29, 2016, at 15:10, Denys Vlasenko wrote:
> > I guess this is an example why it makes sense to wait for general
> > adoption of the tool in common distros before adding it to busybox.
> >
> > The bug was that SHA3 uses 0110*1 padding (raw Keccak uses 10*1).
> > Easy to fix.
> >
> > sha3sum which I found on Fedora is a Perl script (oookay...),
> > it defaults to SHA3-224 and has an -a BITS option.
> >
> > Fixed both in git. Please try it.
>
> Confirmed working on x86_64. Thanks Denys!
>
> - Lauri
>
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Thanks for the responses guys. Looks like this is all figured out now.<BR>
<BR>
On Mon, 2016-08-29 at 20:44 +0300, Lauri Kasanen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Mon, Aug 29, 2016, at 15:10, Denys Vlasenko wrote:
<FONT COLOR="#737373">> I guess this is an example why it makes sense to wait for general</FONT>
<FONT COLOR="#737373">> adoption of the tool in common distros before adding it to busybox.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> The bug was that SHA3 uses 0110*1 padding (raw Keccak uses 10*1).</FONT>
<FONT COLOR="#737373">> Easy to fix.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> sha3sum which I found on Fedora is a Perl script (oookay...),</FONT>
<FONT COLOR="#737373">> it defaults to SHA3-224 and has an -a BITS option.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Fixed both in git. Please try it.</FONT>
Confirmed working on x86_64. Thanks Denys!
- Lauri
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic