Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE
authorRichard Levitte <levitte@openssl.org>
Sun, 16 Aug 2020 19:25:08 +0000 (21:25 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 21 Aug 2020 07:23:58 +0000 (09:23 +0200)
commitece9304c96f71277ca95696d9bc49fdec51e9f17
tree7038f8760e1538754bc67371cb5a466a83935dad
parentf650993f1de3dbb5eda9009ad0c4895a7b1b7fe2
Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE

Fixes #12455

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12660)
108 files changed:
CHANGES.md
NEWS.md
apps/list.c
crypto/asn1/i2d_pr.c
crypto/build.info
crypto/encode_decode/build.info [new file with mode: 0644]
crypto/encode_decode/decoder_err.c [moved from crypto/serializer/deserializer_err.c with 55% similarity]
crypto/encode_decode/decoder_lib.c [new file with mode: 0644]
crypto/encode_decode/decoder_meth.c [new file with mode: 0644]
crypto/encode_decode/decoder_pkey.c [moved from crypto/serializer/deserializer_pkey.c with 65% similarity]
crypto/encode_decode/encoder_err.c [new file with mode: 0644]
crypto/encode_decode/encoder_lib.c [moved from crypto/serializer/serializer_lib.c with 71% similarity]
crypto/encode_decode/encoder_local.h [new file with mode: 0644]
crypto/encode_decode/encoder_meth.c [new file with mode: 0644]
crypto/encode_decode/encoder_pkey.c [new file with mode: 0644]
crypto/encode_decode/endecode_pass.c [moved from crypto/serializer/serdes_pass.c with 80% similarity]
crypto/err/err.c
crypto/err/openssl.ec
crypto/err/openssl.txt
crypto/evp/p_lib.c
crypto/evp/pmeth_gn.c
crypto/pem/pem_local.h
crypto/pem/pem_pk8.c
crypto/pem/pem_pkey.c
crypto/property/property_parse.c
crypto/serializer/build.info [deleted file]
crypto/serializer/deserializer_lib.c [deleted file]
crypto/serializer/deserializer_meth.c [deleted file]
crypto/serializer/serializer_err.c [deleted file]
crypto/serializer/serializer_local.h [deleted file]
crypto/serializer/serializer_meth.c [deleted file]
crypto/serializer/serializer_pkey.c [deleted file]
crypto/x509/x_pubkey.c
doc/man1/openssl-list.pod.in
doc/man3/OSSL_DECODER.pod [new file with mode: 0644]
doc/man3/OSSL_DECODER_CTX.pod [new file with mode: 0644]
doc/man3/OSSL_DECODER_CTX_new_by_EVP_PKEY.pod [new file with mode: 0644]
doc/man3/OSSL_DECODER_from_bio.pod [new file with mode: 0644]
doc/man3/OSSL_DESERIALIZER.pod [deleted file]
doc/man3/OSSL_DESERIALIZER_CTX.pod [deleted file]
doc/man3/OSSL_DESERIALIZER_CTX_new_by_EVP_PKEY.pod [deleted file]
doc/man3/OSSL_DESERIALIZER_from_bio.pod [deleted file]
doc/man3/OSSL_ENCODER.pod [new file with mode: 0644]
doc/man3/OSSL_ENCODER_CTX.pod [new file with mode: 0644]
doc/man3/OSSL_ENCODER_CTX_new_by_EVP_PKEY.pod [new file with mode: 0644]
doc/man3/OSSL_ENCODER_to_bio.pod [moved from doc/man3/OSSL_SERIALIZER_to_bio.pod with 58% similarity]
doc/man3/OSSL_SERIALIZER.pod [deleted file]
doc/man3/OSSL_SERIALIZER_CTX.pod [deleted file]
doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod [deleted file]
doc/man7/OSSL_PROVIDER-FIPS.pod
doc/man7/OSSL_PROVIDER-base.pod
doc/man7/OSSL_PROVIDER-default.pod
doc/man7/provider-encoder.pod [moved from doc/man7/provider-serializer.pod with 56% similarity]
doc/man7/provider.pod
include/crypto/encoder.h [moved from include/crypto/serializer.h with 53% similarity]
include/internal/cryptlib.h
include/openssl/core_dispatch.h
include/openssl/core_names.h
include/openssl/decoder.h [new file with mode: 0644]
include/openssl/decodererr.h [moved from include/openssl/deserializererr.h with 68% similarity]
include/openssl/deserializer.h [deleted file]
include/openssl/encoder.h [new file with mode: 0644]
include/openssl/encodererr.h [moved from include/openssl/serializererr.h with 64% similarity]
include/openssl/err.h
include/openssl/serializer.h [deleted file]
include/openssl/types.h
providers/baseprov.c
providers/decoders.inc [new file with mode: 0644]
providers/defltprov.c
providers/deserializers.inc [deleted file]
providers/encoders.inc [new file with mode: 0644]
providers/implementations/build.info
providers/implementations/encode_decode/build.info [new file with mode: 0644]
providers/implementations/encode_decode/decode_common.c [moved from providers/implementations/serializers/deserialize_common.c with 99% similarity]
providers/implementations/encode_decode/decode_der2key.c [moved from providers/implementations/serializers/deserialize_der2key.c with 81% similarity]
providers/implementations/encode_decode/decode_ms2key.c [moved from providers/implementations/serializers/deserialize_ms2key.c with 73% similarity]
providers/implementations/encode_decode/decode_pem2der.c [moved from providers/implementations/serializers/deserialize_pem2der.c with 71% similarity]
providers/implementations/encode_decode/encoder_common.c [moved from providers/implementations/serializers/serializer_common.c with 99% similarity]
providers/implementations/encode_decode/encoder_dh.c [moved from providers/implementations/serializers/serializer_dh.c with 99% similarity]
providers/implementations/encode_decode/encoder_dh_param.c [moved from providers/implementations/serializers/serializer_dh_param.c with 70% similarity]
providers/implementations/encode_decode/encoder_dh_priv.c [moved from providers/implementations/serializers/serializer_dh_priv.c with 73% similarity]
providers/implementations/encode_decode/encoder_dh_pub.c [moved from providers/implementations/serializers/serializer_dh_pub.c with 70% similarity]
providers/implementations/encode_decode/encoder_dsa.c [moved from providers/implementations/serializers/serializer_dsa.c with 99% similarity]
providers/implementations/encode_decode/encoder_dsa_param.c [moved from providers/implementations/serializers/serializer_dsa_param.c with 73% similarity]
providers/implementations/encode_decode/encoder_dsa_priv.c [moved from providers/implementations/serializers/serializer_dsa_priv.c with 74% similarity]
providers/implementations/encode_decode/encoder_dsa_pub.c [moved from providers/implementations/serializers/serializer_dsa_pub.c with 76% similarity]
providers/implementations/encode_decode/encoder_ec.c [moved from providers/implementations/serializers/serializer_ec.c with 99% similarity]
providers/implementations/encode_decode/encoder_ec_param.c [moved from providers/implementations/serializers/serializer_ec_param.c with 68% similarity]
providers/implementations/encode_decode/encoder_ec_priv.c [moved from providers/implementations/serializers/serializer_ec_priv.c with 71% similarity]
providers/implementations/encode_decode/encoder_ec_pub.c [moved from providers/implementations/serializers/serializer_ec_pub.c with 74% similarity]
providers/implementations/encode_decode/encoder_ecx.c [moved from providers/implementations/serializers/serializer_ecx.c with 99% similarity]
providers/implementations/encode_decode/encoder_ecx_priv.c [moved from providers/implementations/serializers/serializer_ecx_priv.c with 68% similarity]
providers/implementations/encode_decode/encoder_ecx_pub.c [moved from providers/implementations/serializers/serializer_ecx_pub.c with 75% similarity]
providers/implementations/encode_decode/encoder_ffc_params.c [moved from providers/implementations/serializers/serializer_ffc_params.c with 98% similarity]
providers/implementations/encode_decode/encoder_local.h [moved from providers/implementations/serializers/serializer_local.h with 99% similarity]
providers/implementations/encode_decode/encoder_rsa.c [moved from providers/implementations/serializers/serializer_rsa.c with 98% similarity]
providers/implementations/encode_decode/encoder_rsa_priv.c [moved from providers/implementations/serializers/serializer_rsa_priv.c with 74% similarity]
providers/implementations/encode_decode/encoder_rsa_pub.c [moved from providers/implementations/serializers/serializer_rsa_pub.c with 75% similarity]
providers/implementations/include/prov/implementations.h
providers/implementations/serializers/build.info [deleted file]
providers/serializers.inc [deleted file]
test/build.info
test/endecode_test.c [moved from test/serdes_test.c with 79% similarity]
test/evp_pkey_provided_test.c
test/recipes/04-test_encoder_decoder.t [moved from test/recipes/04-test_serializer_deserializer.t with 89% similarity]
util/libcrypto.num
util/missingcrypto.txt
util/other.syms