[PATCH] sha3sum: New applet, v2

Baruch Siach baruch at tkos.co.il
Tue Jan 8 07:14:49 UTC 2013


Hi Matthew, Lauri,

On Mon, Jan 07, 2013 at 08:32:44PM -0600, Matthew Stoltenberg wrote:
> On Fri, Jan 4, 2013 at 5:02 AM, Lauri Kasanen <curaga at operamail.com> wrote:
> > v2:
> 
> Hey Lauri,
> 
> I've got a mips64 processor I'm trying your patch with...
> 
> Here are the results I get using mips64 vs a basic centos5 x86_64 machine:
> 
> # mips64
> $ echo "Hello World" | ./busybox sha3sum
> bb5596c9990b5e6f821d17150b3c79585180ed05f4570ba82a89816a5680c463d3ce23fa8daff68e0ada7c235e21f619d5fc0e122ee2e5fe959e004742d53ee4
>  -
> $ file ./busybox
> ./busybox: ELF 64-bit MSB executable, MIPS, MIPS64 rel2 version 1
> (SYSV), statically linked, for GNU/Linux 2.6.9, stripped

"MSB executable" means big-endian, isn't it?

> # x86_64
> $ echo "Hello World" | ./busybox sha3sum
> 9ad2496364575076338331ca40a51a46d6a1d680c4e4d31bc3db6f4e46a5de376e0289692dbbb85fec8d9843f7c0a7efe200e86f2382c07d0674d20862db72d8
>  -

Is there an independent, publicly available implementation of SHA-3 that would 
tell us which one is correct?

baruch

> $ file ./busybox
> ./busybox: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV),
> for GNU/Linux 2.6.9, statically linked, stripped
> 
> I'll watch the thread and try it out when you post another patch.

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the busybox mailing list