diff options
author | Richard Levitte <levitte@openssl.org> | 2020-10-05 14:23:55 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-10-10 20:23:39 +0200 |
commit | 25cf949fc620ff7053e51acca3ec4d0fd094f8b0 (patch) | |
tree | dfbffa70ab45c5bad376f86ef518cd02eb38ca7a /util | |
parent | 3094351625f0b222f92c22ce4943461df8c7e301 (diff) |
ENCODER / DECODER: Add functions to encode/decode to/from a buffer
This adds OSSL_ENCODER_to_data() and OSSL_DECODER_from_data(). These
functions allow fairly simple rewrites of type-specific i2d and d2i
calls.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13094)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 05e006eb72..fb0069c9e8 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5286,3 +5286,5 @@ EVP_KEM_gettable_ctx_params ? 3_0_0 EXIST::FUNCTION: EVP_KEM_settable_ctx_params ? 3_0_0 EXIST::FUNCTION: PKCS7_type_is_other ? 3_0_0 EXIST::FUNCTION: PKCS7_get_octet_string ? 3_0_0 EXIST::FUNCTION: +OSSL_DECODER_from_data ? 3_0_0 EXIST::FUNCTION: +OSSL_ENCODER_to_data ? 3_0_0 EXIST::FUNCTION: |