summaryrefslogtreecommitdiffstats
path: root/doc/man7/EVP_PKEY-EC.pod
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-05-24 11:40:34 +0100
committerShane Lontis <shane.lontis@oracle.com>2021-05-31 09:23:39 +1000
commit3bcc933ec4032a4b9eb0450adc07341678fe9e28 (patch)
treeff4aee7b53f5ccaf56254c01f54c2be4a09a242b /doc/man7/EVP_PKEY-EC.pod
parent0a4e660a273d6d33cfc1608ed48d6e560ae970ed (diff)
Teach EVP_PKEYs to say whether they were decoded from explicit params
Currently we explicitly downgrade an EVP_PKEY to an EC_KEY and ask the EC_KEY directly whether it was decoded from explicit parameters or not. Instead we teach EVP_PKEYs to respond to a new parameter for this purpose. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15526)
Diffstat (limited to 'doc/man7/EVP_PKEY-EC.pod')
-rw-r--r--doc/man7/EVP_PKEY-EC.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man7/EVP_PKEY-EC.pod b/doc/man7/EVP_PKEY-EC.pod
index 6dfc1f16ae..82892492e3 100644
--- a/doc/man7/EVP_PKEY-EC.pod
+++ b/doc/man7/EVP_PKEY-EC.pod
@@ -68,6 +68,11 @@ I<order> - 1.
I<cofactor> is an optional value.
I<order> multiplied by the I<cofactor> gives the number of points on the curve.
+=item "decoded-from-explicit" (B<OSSL_PKEY_PARAM_EC_DECODED_FROM_EXPLICIT_PARAMS>) <integer>
+
+Gets a flag indicating wether the key or parameters were decoded from explicit
+curve parameters. Set to 1 if so or 0 if a named curve was used.
+
=item "use-cofactor-flag" (B<OSSL_PKEY_PARAM_USE_COFACTOR_ECDH>) <integer>
Enable Cofactor DH (ECC CDH) if this value is 1, otherwise it uses normal EC DH