"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: idlen -> digest_{,string_}len
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 12 Aug 2024 21:25:52 +0200

Download raw body.

Thread
On Mon, Aug 12, 2024 at 08:01:25PM +0200, Omar Polo wrote:
> In my early sha256 I've used `idlen' to parametrize the digest length,
> but it's ambigous since it could refer both to the digest length or to
> the digest _string_ length.
> 
> I'd like to standardize in digest_len / digest_string_len, even if
> requires a few more chars than `idlen'.
> 
> Diff below renames all the offender (the rest of the tree is using these
> names already.)
> 
> Thoughs/oks?

Sure, I like this.