tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SHA-3 in libc



On Fri, Dec 12, 2014 at 08:42:14PM +0000, Taylor R Campbell wrote:
> The attached patch implements SHA3_224/256/384/512_Init/Update/Final
> following the similar sha2, sha1, md5, &c., APIs in libc.
> 
> I propose to include these in libc and pull them up to netbsd-7,
> before the NIST SHA-3 draft is finalized, so that the symbols will be
> available in NetBSD 7's libc for applications to use later on without
> the trouble of adding symbols to libc in, e.g., NetBSD 7.1 once the
> draft is finalized.
> 
> The man page will include a stern warning that the standard is a draft
> and may change, which we can remove when it is finalized.  If it does
> change before finalization, we can always pull up the change.  But I
> think it is unlikely to change at this point.
> 
> Comments?
> 
> (I excluded the test vectors from this patch because they are three
> megabytes of little interest to the mailing list for review, at
> <https://github.com/gvanas/KeccakCodePackage/tree/master/TestVectors>.)

An excellent idea, thanks - please also note that multigest also has
keccak/sha3 and blake2 (the non-accelerated version) functionality,
and if you could grab blake2 and add that as well, that would be
awesome.

Thanks,
Alistair


Home | Main Index | Thread Index | Old Index