Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 Jan 2014 22:10:28 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Handling of hashes with different iteration counts

On 2014-01-29 21:31, Frank Dittrich wrote:
> Defining an array of functions is one way to do it.
> Defining a single function with one more parameter (id of tunable cost)
> is another one.

Another one is a single function that returns [a pointer to] an array of 
uint: If you don't have any notion of variable cost, the array is {0} or 
perhaps the pointer is NULL. If you have it, array can be {iter, 0} or 
{t_cost, m_cost, 0} and so on with virtually no limit.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ