openssl/crypto
Richard Levitte a8457b4c3d ASN1: Fix i2d_provided() return value
i2d_provided() - which is the internal provider data function for
i2d_KeyParams(), i2d_PrivateKey(), i2d_PublicKey() - didn't treat the
returned length from OSSL_ENCODER_to_data() quite as well as it should
have.  A simple added flag that records the state of |*pp| before
calling OSSL_ENCODER_to_data() fixes the problem.

Fixes #14655

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/15277)
2021-05-15 13:16:31 -07:00
..
aes Fix provider library build wrt. AES 2021-05-14 09:37:35 +02:00
aria
asn1 ASN1: Fix i2d_provided() return value 2021-05-15 13:16:31 -07:00
async
bf
bio Replace some of the ERR_clear_error() calls with mark calls 2021-05-13 19:26:06 +02:00
bn Optimize RSA on armv8 2021-05-09 23:15:07 +10:00
buffer
camellia
cast
chacha
cmac Update copyright year 2021-04-22 14:38:44 +01:00
cmp HTTP: Implement persistent connections (keep-alive) 2021-05-14 19:24:42 +02:00
cms CMS ESS: Move four internal aux function to where they belong in crypto/cms 2021-04-28 14:10:47 +02:00
comp Add RUN_ONCE support to zlib init 2021-04-22 17:41:55 +02:00
conf Add convenience functions and macros for asymmetric key generation 2021-05-11 12:46:42 +02:00
crmf Add quick one-shot EVP_Q_mac() and deprecation compensation decls for MAC functions 2021-05-08 14:35:03 +02:00
ct
des
dh Fixes related to separation of DH and DHX types 2021-04-26 19:52:11 +02:00
dsa Update copyright year 2021-04-22 14:38:44 +01:00
dso
ec Replace some of the ERR_clear_error() calls with mark calls 2021-05-13 19:26:06 +02:00
encode_decode encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
engine
err HTTP: Implement persistent connections (keep-alive) 2021-05-14 19:24:42 +02:00
ess Fix missing symbols in no-cms and no-ts build 2021-05-05 17:05:01 +02:00
evp Replace EVP_PKEY_supports_digest_nid 2021-05-13 13:19:39 +02:00
ffc Export/import flags for FFC params changed to seperate fields. 2021-05-13 09:49:18 +10:00
hmac Add quick one-shot EVP_Q_mac() and deprecation compensation decls for MAC functions 2021-05-08 14:35:03 +02:00
http Add OSSL_ prefix to HTTP_DEFAULT_MAX_{LINE_LENGTH,RESP_LEN} 2021-05-14 19:24:42 +02:00
idea
kdf
lhash
md2
md4
md5 Remove unused code from the fips module 2021-05-08 20:44:41 +10:00
mdc2
modes Drop libimplementations.a 2021-05-07 10:17:23 +02:00
objects Add OID for RPKI id-ct-signedChecklist 2021-05-12 15:06:22 +10:00
ocsp HTTP: Implement persistent connections (keep-alive) 2021-05-14 19:24:42 +02:00
pem Fallback to legacy pem decoding if OSSL_DECODER fails 2021-05-13 13:30:07 +02:00
perlasm
pkcs7 Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
pkcs12 Replace some of the ERR_clear_error() calls with mark calls 2021-05-13 19:26:06 +02:00
poly1305 Drop libimplementations.a 2021-05-07 10:17:23 +02:00
property property: create property names more eagerly. 2021-05-12 18:19:52 +10:00
rand Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
rc2 Update copyright year 2021-05-06 13:03:23 +01:00
rc4
rc5
ripemd Drop libimplementations.a 2021-05-07 10:17:23 +02:00
rsa Detect low-level engine and app method based keys 2021-04-19 11:36:16 +02:00
seed
sha Crypto: Add deprecation compatibility declarations for SHA* message digest functions 2021-05-08 14:41:36 +02:00
siphash
sm2
sm3
sm4
srp srp: remove references to EVP_sha1() 2021-04-21 09:27:51 +10:00
stack Improve the implementation of X509_STORE_CTX_get1_issuer() 2021-04-28 11:19:34 +02:00
store Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
ts TS ESS: Move four internal aux function to where they belong in crypto/ts 2021-04-28 14:10:47 +02:00
txt_db
ui
whrlpool A few cleanups of the provider build.infos 2021-05-12 13:23:33 +02:00
x509 Add OSSL_ prefix to HTTP_DEFAULT_MAX_{LINE_LENGTH,RESP_LEN} 2021-05-14 19:24:42 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h crypto/arm_arch.h: add a variable declaration 2021-05-14 00:03:30 +10:00
armcap.c armcap: fix Mac M1 SHA512 support. 2021-05-11 10:00:27 +02:00
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info Fix missing $CPUIDDEF in libdefault.a 2021-05-11 18:27:07 +02:00
c64xpluscpuid.pl
context.c Add the concept of a child OSSL_LIB_CTX 2021-05-11 14:56:55 +01:00
core_algorithm.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
core_fetch.c
core_namemap.c Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
cpt_err.c Update copyright year 2021-05-06 13:03:23 +01:00
cpuid.c
cryptlib.c
ctype.c
cversion.c
der_writer.c
dllmain.c
ebcdic.c
ex_data.c Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
getenv.c
ia64cpuid.S
info.c
init.c Add RUN_ONCE support to zlib init 2021-04-22 17:41:55 +02:00
initthread.c Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c
mem.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c
o_time.c
packet.c
param_build_set.c
param_build.c
params_dup.c params_dup: fix off by one error that allows array overreach. 2021-04-21 08:57:42 +10:00
params_from_text.c
params.c Fix potential NULL dereference in OSSL_PARAM_get_utf8_string() 2021-04-22 16:46:20 +02:00
pariscid.pl
passphrase.c
ppc_arch.h
ppccap.c bn: Add fixed length (n=6), unrolled PPC Montgomery Multiplication 2021-05-08 20:39:29 +10:00
ppccpuid.pl
provider_child.c Init the child providers immediately on creation of the child libctx 2021-05-15 10:33:42 +01:00
provider_conf.c Add support for child provider to up_ref/free their parent 2021-05-11 14:59:43 +01:00
provider_core.c Init the child providers immediately on creation of the child libctx 2021-05-15 10:33:42 +01:00
provider_local.h
provider_predefined.c
provider.c Add support for child provider to up_ref/free their parent 2021-05-11 14:59:43 +01:00
punycode.c
README-sparse_array.md
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
sparc_arch.h
sparccpuid.S
sparcv9cap.c
sparse_array.c
threads_lib.c
threads_none.c
threads_pthread.c
threads_win.c
trace.c
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl