1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00

Implement FR #76935: OpenSSL chacha20-poly1305 AEAD support

This adds support for ChaCha20-Poly1305 AEAD algorithm so it is possible
to use it in the same way as AES GCM and other AEAD algorithms. This is
available in OpenSSL 1.1.0+.
This commit is contained in:
Jakub Zelenka
2022-08-18 13:40:50 +01:00
parent 505e8d2a04
commit 1407968891
4 changed files with 138 additions and 7 deletions

2
NEWS
View File

@@ -17,6 +17,8 @@ PHP NEWS
- OpenSSL:
. Fixed bug GH-9310 (SSL local_cert and local_pk do not respect
open_basedir). (Jakub Zelenka)
. Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like
AEAD). (Jakub Zelenka)
- Random:
. Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937