Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+TsHUDc-ehDHrtvbFdTqOt-X=SWqO+cZVd0ZYvwS0jC6o=kDw@mail.gmail.com>
Date: Tue, 10 Mar 2015 22:09:24 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev <john-dev@...ts.openwall.com>
Subject: Re: bcrypt-opencl

On Tue, Mar 10, 2015 at 8:41 PM, magnum <john.magnum@...hmail.com> wrote:

> In salt(), the CPU format currently has this:
>
>         if (ciphertext[2] == 'a' || ciphertext[2] == 'b')
>                 salt.subtype = 'y';
>         else
>                 salt.subtype = ciphertext[2];
>
>         return &salt;
>
> Will that be correct?
>

I don't see the CPU format doing anything new with the new subtype. Subtype
is used to set the keys_mode and the keys_mode in turn triggers the
sign_extension_bug which is handled in exactly same manner in both formats.
So, yes it is correct.

Regards,
Sayantan

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.