diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-06-03 10:54:13 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-08 15:15:01 +1000 |
commit | 5135a9bd9280301a24640a6bf5125c144e28cfdd (patch) | |
tree | fc66ee826b95d7a48a94a016efd287db737cd43e /doc/man7/EVP_PKEY-EC.pod | |
parent | 063e019738b90fcf0a3ab7b1654ce8976805b0b3 (diff) |
Document missing EC/SM2 params
Fixes #15548
Document OSSL_PKEY_PARAM_EC_PUB_X, OSSL_PKEY_PARAM_EC_PUB_Y and OSSL_PKEY_PARAM_DEFAULT_DIGEST
Added a section related to parameters for SM2.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15601)
Diffstat (limited to 'doc/man7/EVP_PKEY-EC.pod')
-rw-r--r-- | doc/man7/EVP_PKEY-EC.pod | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/man7/EVP_PKEY-EC.pod b/doc/man7/EVP_PKEY-EC.pod index 82892492e3..31d92bf8a1 100644 --- a/doc/man7/EVP_PKEY-EC.pod +++ b/doc/man7/EVP_PKEY-EC.pod @@ -122,6 +122,19 @@ Used for getting and setting the encoding of an EC public key. The public key is expected to be a point conforming to Sec. 2.3.4 of the SECG SEC 1 ("Elliptic Curve Cryptography") standard. +=item "qx" (B<OSSL_PKEY_PARAM_EC_PUB_X>) <unsigned integer> + +Used for getting the EC public key X component. + +=item "qy" (B<OSSL_PKEY_PARAM_EC_PUB_Y>) <unsigned integer> + +Used for getting the EC public key Y component. + +=item (B<OSSL_PKEY_PARAM_DEFAULT_DIGEST>) <UTF8 string> + +Getter that returns the default digest name. +(Currently returns "SHA256" as of OpenSSL 3.0). + =back The following Gettable types are also available for the built-in EC algorithm: |