Update the EdDSA docs with information about Algorithm Identifiers
authorMatt Caswell <matt@openssl.org>
Thu, 17 Sep 2020 13:11:21 +0000 (14:11 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Sep 2020 14:26:28 +0000 (15:26 +0100)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12884)

doc/man7/EVP_SIGNATURE-ED25519.pod

index e3d9cd47e235ceb191b74f089b8534ee02972d58..bb91ae24348874570a64126043c659911b611960 100644 (file)
@@ -15,11 +15,24 @@ one-shot digest sign and digest verify using PureEdDSA and B<Ed25519> or B<Ed448
 (see RFC8032). It has associated private and public key formats compatible with
 RFC 8410.
 
+=head2 ED25591 and ED448 Signature Parameters
+
 No additional parameters can be set during one-shot signing or verification.
 In particular, because PureEdDSA is used, a digest must B<NOT> be specified when
 signing or verifying.
 See L<EVP_PKEY-X25519(7)> for information related to B<X25519> and B<X448> keys.
 
+The following signature parameters can be retrieved using
+EVP_PKEY_CTX_get_params().
+
+=over 4
+
+=item "algorithm-id" (B<OSSL_SIGNATURE_PARAM_ALGORITHM_ID>) <octet string>
+
+The parameters are described in L<provider-signature(7)>.
+
+=back
+
 =head1 NOTES
 
 The PureEdDSA algorithm does not support the streaming mechanism