Re: [PHP-DEV] BLAKE3 hash redux

2025-01-24 Thread Tim Düsterhus
Hi Am 2025-01-24 22:37, schrieb Hans Henrik Bergan: BLAKE3 keeping up with dedicated SHA CPU instructions (i.e SHA-NI) is impressive. I would assume that that's the AVX2 implementation (my CPU can't AVX512), which makes it less impressive. ARM is getting more and more common, and I don't t

Re: [PHP-DEV] BLAKE3 hash redux

2025-01-24 Thread Christoph M. Becker
On 24.01.2025 at 20:39, Hans Henrik Bergan wrote: > Can we add the BLAKE3 hash? > > Created a PR here: https://github.com/php/php-src/pull/13194 > Created a RFC draft here: https://wiki.php.net/rfc/blake3 I'm *generally* somewhat concerned regarding the amount of code (growth) in ext/hash, which

Re: [PHP-DEV] BLAKE3 hash redux

2025-01-24 Thread Hans Henrik Bergan
On Fri, 24 Jan 2025 at 21:54, Tim Düsterhus wrote: > > Hi > > (Hans, apologies for the duplicate copy, I accidentally did not send the > first reply to the list) > > Am 2025-01-24 20:39, schrieb Hans Henrik Bergan: > > Can we add the BLAKE3 hash? > > > > Created a PR here: https://github.com/php/p

Re: [PHP-DEV] BLAKE3 hash redux

2025-01-24 Thread Tim Düsterhus
Hi (Hans, apologies for the duplicate copy, I accidentally did not send the first reply to the list) Am 2025-01-24 20:39, schrieb Hans Henrik Bergan: Can we add the BLAKE3 hash? Created a PR here: https://github.com/php/php-src/pull/13194 Created a RFC draft here: https://wiki.php.net/rfc/bl

[PHP-DEV] BLAKE3 hash redux

2025-01-24 Thread Hans Henrik Bergan
Can we add the BLAKE3 hash? Created a PR here: https://github.com/php/php-src/pull/13194 Created a RFC draft here: https://wiki.php.net/rfc/blake3 BLAKE3 is a cryptographic hash function based on the SHA3-finalist BLAKE, offering SHA3-256-like security at much higher speed. Benchmarks from /ext/h