EVP_PKEY-EC - EVP_PKEY EC keytype and algorithm support
The EC keytype is implemented in OpenSSL's default provider.
The following Import/Export types are available for the built-in EC algorithm:
The EC curve name.
Enable Cofactor DH (ECC CDH) if this value is 1, otherwise it uses normal EC DH if the value is zero. The cofactor variant multiplies the shared secret by the EC curve's cofactor (note for some curves the cofactor is 1).
An EVP_PKEY context can be obtained by calling:
EVP_PKEY_CTX *pctx =
EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
EVP_PKEY(3), EVP_SIGNATURE-ECDSA(7), COPYRIGHT
Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.