Add OPENSSL_hexstr2buf_ex() and OPENSSL_buf2hexstr_ex()
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Jul 2019 16:40:17 +0000 (18:40 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 12 Aug 2019 10:50:41 +0000 (12:50 +0200)
commit82bd7c2cbd3a4b38321fb9053b8aa0f5d100cf54
treeb3a77966489689c83d94dcd2be519186e4f08bd9
parenta42cb4ba8aa74757b526af2cad2ac09b493df3fb
Add OPENSSL_hexstr2buf_ex() and OPENSSL_buf2hexstr_ex()

They do the same thing as OPENSSL_hexstr2buf() and OPENSSL_buf2hexstr(),
except they take a result buffer from the caller.

We take the opportunity to break out the documentation of the hex to /
from buffer conversion routines from the OPENSSL_malloc() file to its
own file.  These routines aren't memory allocation routines per se.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9303)
crypto/cpt_err.c
crypto/err/openssl.txt
crypto/o_str.c
doc/man3/OPENSSL_hexchar2int.pod [new file with mode: 0644]
doc/man3/OPENSSL_malloc.pod
include/openssl/crypto.h
include/openssl/cryptoerr.h
util/libcrypto.num