diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-03-30 17:41:03 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-01 14:43:11 +0200 |
commit | 78043fe898f4dac862a515f9a1b1bbe6dda22951 (patch) | |
tree | d225c147ebc0c8e74ffeb501de6af50039dc2f49 /include | |
parent | Avoid going through NID when unnecessary (diff) | |
download | openssl-78043fe898f4dac862a515f9a1b1bbe6dda22951.tar.xz openssl-78043fe898f4dac862a515f9a1b1bbe6dda22951.zip |
Add "save-parameters" encoder parameter
The parameter makes the dsa key encoder to skip saving the DSA
key parameters similarly to what the legacy dsa key encoder did.
Fixes #14362
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14746)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/core_names.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h index ab669cfd3f..7c00109621 100644 --- a/include/openssl/core_names.h +++ b/include/openssl/core_names.h @@ -473,6 +473,7 @@ extern "C" { #define OSSL_ENCODER_PARAM_OUTPUT_STRUCTURE "output-structure" /* Currently PVK only, but reusable for others as needed */ #define OSSL_ENCODER_PARAM_ENCRYPT_LEVEL "encrypt-level" +#define OSSL_ENCODER_PARAM_SAVE_PARAMETERS "save-parameters" /* integer */ #define OSSL_DECODER_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES #define OSSL_DECODER_PARAM_INPUT_TYPE "input-type" |