diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2020-10-15 13:41:59 +1000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-01-26 15:22:14 +0100 |
commit | 5b5eea4b60b682009d2b15587c9ceeae5e9c73f8 (patch) | |
tree | 4a3261cb27a582770270a07b40ecf05ecb71c89a /doc/man7 | |
parent | 98dbf2c1c8143c0cc6dd05be7950d90bc6792064 (diff) |
Deprecate EC_KEY + Update ec apps to use EVP_PKEY
Co-author: Richard Levitte <levitte@openssl.org>
Co-author: Tomas Mraz <tmraz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13139)
Diffstat (limited to 'doc/man7')
-rw-r--r-- | doc/man7/EVP_PKEY-EC.pod | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/man7/EVP_PKEY-EC.pod b/doc/man7/EVP_PKEY-EC.pod index be6e507169..ad188c6f46 100644 --- a/doc/man7/EVP_PKEY-EC.pod +++ b/doc/man7/EVP_PKEY-EC.pod @@ -79,6 +79,26 @@ EC curve's cofactor (note for some curves the cofactor is 1). Set the format used for serializing the EC group parameters. Valid values are "explicit" or "named_curve". The default value is "named_curve". +=item "point-format" (B<OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT>) <utf8 string> + +Sets or gets the point_conversion_form for the I<key>. For a description of +point_conversion_forms please see L<EC_POINT_new(3)>. Valid values are +"uncompressed" or "compressed". The default value is "uncompressed". + +=item "group-check" (B<OSSL_PKEY_PARAM_EC_GROUP_CHECK_TYPE>) <utf8 string> + +Sets or Gets the type of group check done when EVP_PKEY_param_check() is called. +Valid values are "default", "named" and "named-nist". +The "named" type checks that the domain parameters match the inbuilt curve parameters, +"named-nist" is similiar but also checks that the named curve is a nist curve. +The "default" type does domain parameter validation for the OpenSSL default provider, +but is equivalent to "named-nist" for the OpenSSL fips provider. + +=item "include-public" (B<OSSL_PKEY_PARAM_EC_INCLUDE_PUBLIC>) <integer> + +Setting this value to 0 indicates that the public key should not be included when +encoding the private key. The default value of 1 will include the public key. + See also L<EVP_KEYEXCH-ECDH(7)> for the related B<OSSL_EXCHANGE_PARAM_EC_ECDH_COFACTOR_MODE> parameter that can be set on a per-operation basis. |