[php-src] PR #14052: Add support for Curve25519 + Curve448 based keys

From: Date: Fri, 26 Apr 2024 10:52:53 +0000
Subject: [php-src] PR #14052: Add support for Curve25519 + Curve448 based keys
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25895@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14052 Author: manuelm For openssl_pkey_get_details we export the priv+pub parameters. ED25519/ED448 do not support streaming, so we need to use EVP_Digest{Sign,Verify} instead. In general the older EVP_{Sign,Verify} interface should be avoided as the key is passed very late. See BUGS section in OpenSSL manpages of EVP_{Sign,Verify}Final Additionally per requirement we need to allow sign/verify without digest. So we need to allow passing 0 as digest. In OpenSSL 3.0+ this also corresponds to the default digest (see EVP_PKEY_get_default_digest_name). For CSR creation we need to allow null as digest_alg option.

« previous php.git-pulls (#25895) next »