openssl/crypto/pem
Benjamin Kaduk 44612e0a81 Make PEM_read_{,bio_}PrivateKey use secmem
We now have a version of PEM_read_bytes that can use temporary
buffers allocated from the secure heap; use them to handle this
sensitive information.

Note that for PEM_read_PrivateKey, the i/o still goes through
stdio since the input is a FILE pointer.  Standard I/O performs
additional buffering, which cannot be changed to use the OpenSSL
secure heap for temporary storage.  As such, it is recommended
to use BIO_new_file() and PEM_read_bio_PrivateKey() instead.

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:20:31 +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_bytes_read_bio_secmem() 2017-05-08 21:20:31 +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 Make PEM_read_{,bio_}PrivateKey use secmem 2017-05-08 21:20:31 +02: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