Re: git: 3a5855dd220b - main - gbde: stop rebuilding sha512 bits
- In reply to: Kyle Evans : "git: 3a5855dd220b - main - gbde: stop rebuilding sha512 bits"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Apr 2023 05:47:12 UTC
On 4/25/23 22:36, Kyle Evans wrote: > In the early days of gbde, it linked against libmd. Shortly after > conception, phk replaced ARC4 with SHA-512, but libmd did not have SHA2 > at the time thus he built a copy of sha2.c for gbde. > > Fast forward 3 years, cperciva adds SHA2 to libmd -- this makes gbde's > build of sha2.c redundant, but it's (understandably) overlooked. Let's > simplify the gbde build now and just assume that libmd includes the most > optimal implementation. Slight correction: I added *sha256* to libmd in 2005 (FreeBSD 6.0); markm added sha512 to libmd in 2011 (FreeBSD 9.0). -- Colin Percival FreeBSD Deputy Release Engineer & EC2 platform maintainer Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid