Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150915152737.GA945@openwall.com>
Date: Tue, 15 Sep 2015 18:27:38 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Judy array

On Tue, Sep 15, 2015 at 06:40:38AM +0300, Solar Designer wrote:
> The change to PASSWORD_HASH_SIZE_FOR_LDR speeds up startup by a few
> seconds.  The table size used is 16M elements, so 128 MB on 64-bit or
> 64 MB on 32-bit systems.  It think that's acceptable these days,
> especially given that for tiny files (which is what people might process
> on tiny systems) that's just address space rather than memory
> allocation.  This memory is freed after loading is complete.

I was wrong in that it's "just address space rather than memory
allocation".  We have to zeroize the hash table, so it's memory (unless
we were to explicitly use mmap, or used an implementation of calloc that
uses mmap internally for sizes like this and skips zeroization then).

Alexander

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.