openssl/crypto/pem
Benjamin Kaduk 204afd81b1 Add PEM_read_bio_ex
The extended function includes a 'flags' argument to allow callers
to specify different requested behaviors.  In particular, callers can
request that temporary storage buffers are allocated from the secure heap,
which could be relevant when loading private key material.

Refactor PEM_read_bio to use BIO_mems instead of BUFs directly,
use some helper routines to reduce the overall function length, and make
some of the checks more reasonable.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1700)
2017-05-08 21:17:28 +02:00
..
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pem_all.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_err.c Add PEM_read_bio_ex 2017-05-08 21:17:28 +02:00
pem_info.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_lib.c Add PEM_read_bio_ex 2017-05-08 21:17:28 +02:00
pem_oth.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_pk8.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_pkey.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_sign.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_x509.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_xaux.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pvkfmt.c Fix MSBLOB format with RSA. 2016-11-17 03:53:02 +00:00