summaryrefslogtreecommitdiffstats
path: root/crypto/err/openssl.ec
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-07-08 23:04:08 +0200
committerRichard Levitte <levitte@openssl.org>2020-07-24 16:32:00 +0200
commitc3e4c1f325e6fc829a5b00a19a6019249cac781a (patch)
treecc05f9636e452d3fba177163cfca9d13b403a4d6 /crypto/err/openssl.ec
parent5dacb38ccefd45d832c9710b4dd0121fdcbdac72 (diff)
DESERIALIZER: Add foundation for deserializers
This adds a method OSSL_DESERIALIZER, a deserializer context and basic support to use a set of serializers to get a desired type of data, as well as deserializer chains. The idea is that the caller can call OSSL_DESERIALIZER_CTX_add_serializer() to set up the set of desired results, and to add possible chains, call OSSL_DESERIALIZER_CTX_add_extra(). All these deserializers are pushed on an internal stack. The actual deserialization is then performed using functions like OSSL_DESERIALIZER_from_bio(). When performing deserialization, the inernal stack is walked backwards, keeping track of the deserialized data and its type along the way, until the data kan be processed into the desired type of data. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12410)
Diffstat (limited to 'crypto/err/openssl.ec')
-rw-r--r--crypto/err/openssl.ec1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/openssl.ec b/crypto/err/openssl.ec
index 1ec7bb1162..f1bed12795 100644
--- a/crypto/err/openssl.ec
+++ b/crypto/err/openssl.ec
@@ -41,6 +41,7 @@ L ESS include/openssl/ess.h crypto/ess/ess_err.c
L PROP include/internal/property.h crypto/property/property_err.c
L PROV providers/common/include/prov/providercommon.h providers/common/provider_err.c
L OSSL_SERIALIZER include/openssl/serializer.h crypto/serializer/serializer_err.c
+L OSSL_DESERIALIZER include/openssl/deserializer.h crypto/serializer/deserializer_err.c
L HTTP include/openssl/http.h crypto/http/http_err.c
# additional header files to be scanned for function names