提交 c082201a 编写于 作者: D Dr. Stephen Henson

add documentation

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 23143e4d
...@@ -192,6 +192,9 @@ numeric OID. Following parameter sets are supported: ...@@ -192,6 +192,9 @@ numeric OID. Following parameter sets are supported:
=back =back
=head1 X25519 KEY GENERATION OPTIONS
The X25519 algorithm does not currently support any key generation options.
=head1 NOTES =head1 NOTES
...@@ -253,6 +256,10 @@ Generate EC key directly: ...@@ -253,6 +256,10 @@ Generate EC key directly:
-pkeyopt ec_paramgen_curve:P-384 \ -pkeyopt ec_paramgen_curve:P-384 \
-pkeyopt ec_param_enc:named_curve -pkeyopt ec_param_enc:named_curve
Generate an X25519 private key:
openssl genpkey -algorithm X25519 -out xkey.pem
=head1 HISTORY =head1 HISTORY
The ability to use NIST curve names, and to generate an EC key directly, The ability to use NIST curve names, and to generate an EC key directly,
......
...@@ -240,6 +240,11 @@ verify operations use ECDSA and derive uses ECDH. Currently there are no ...@@ -240,6 +240,11 @@ verify operations use ECDSA and derive uses ECDH. Currently there are no
additional options other than B<digest>. Only the SHA1 digest can be used and additional options other than B<digest>. Only the SHA1 digest can be used and
this digest is assumed by default. this digest is assumed by default.
=head1 X25519 ALGORITHM
The X25519 algorithm supports key derivation only. Currently there are no
additional options.
=head1 EXAMPLES =head1 EXAMPLES
Sign some data using a private key: Sign some data using a private key:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册