summaryrefslogtreecommitdiff
path: root/include/openssl/core_names.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-12-09 11:54:56 +0100
committerRichard Levitte <levitte@openssl.org>2020-12-15 14:27:37 +0100
commit0cc0164d193f6071a9d06b2116a410f8139a7e3c (patch)
tree2685bc2b251eae9863eb91f2201699ba3d90db28 /include/openssl/core_names.h
parent2984445d3a09d0c4a8d66817eff9d48ee69daf51 (diff)
downloadopenssl-new-0cc0164d193f6071a9d06b2116a410f8139a7e3c.tar.gz
PROV: Add MSBLOB and PVK encoders
This allows 15-test_rsa.t to succeed, and provides the same OSSL_ENCODER support for these formats as for all other formats supported in OpenSSL. Fixes #13379 Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13645)
Diffstat (limited to 'include/openssl/core_names.h')
-rw-r--r--include/openssl/core_names.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index de9d67c078..73585831ed 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -464,6 +464,8 @@ extern "C" {
#define OSSL_ENCODER_PARAM_INPUT_TYPE "input-type"
#define OSSL_ENCODER_PARAM_OUTPUT_TYPE "output-type"
#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_DECODER_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
#define OSSL_DECODER_PARAM_INPUT_TYPE "input-type"