lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 30 Sep 2015 04:11:51 +0000
From: Jean-Philippe Aumasson <jeanphilippe.aumasson@...il.com>
To: "discussions@...sword-hashing.net" <discussions@...sword-hashing.net>
Subject: Re: [PHC] Specification of a modular crypt format (2)

Will add the code
On Wed 30 Sep 2015 at 04:00 Peter Gutmann <pgut001@...auckland.ac.nz> wrote:

> Jean-Philippe Aumasson <jeanphilippe.aumasson@...il.com> writes:
>
> >@Thomas: let's copy the updated source code on a new shared doc
> https://docs.google.com/document/d/13bv-3HarFpQOD1PayJ2hMvRtVIs5QPu1FZ5XonEv57c/edit?usp=sharing
> ?
>
> I've waited awhile after seeing this but I'm still just getting a blank
> page,
> is there supposed to be content there?  I was curious to compare the final
> version with my code, which is (in part):
>
>         /* Process the numeric string */
>         for( value = 0, i = 0; i < strLen; i++ )
>                 {
>                 const int valTmp = value * 10;
>                 const int ch = byteToInt( str[ i ] ) - '0';
>
>                 if( ch < 0 || ch > 9 )
>                         return( CRYPT_ERROR_BADDATA );
>                 if( value >= ( MAX_INTLENGTH / 10 ) || \
>                         valTmp >= MAX_INTLENGTH - ch )
>                         return( CRYPT_ERROR_BADDATA );
>                 value = valTmp + ch;
>                 if( value < 0 || value > MAX_INTLENGTH )
>                         return( CRYPT_ERROR_BADDATA );
>                 }
>
> Peter.
>
>
>
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ