summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-03 18:40:17 +0200
committerRichard Levitte <levitte@openssl.org>2019-08-12 12:50:41 +0200
commit82bd7c2cbd3a4b38321fb9053b8aa0f5d100cf54 (patch)
treeb3a77966489689c83d94dcd2be519186e4f08bd9 /util
parenta42cb4ba8aa74757b526af2cad2ac09b493df3fb (diff)
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)
Diffstat (limited to 'util')
-rw-r--r--util/libcrypto.num2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num
index c99a69ab22..c6f1f2d7ad 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -4706,3 +4706,5 @@ EC_GROUP_new_ex 4815 3_0_0 EXIST::FUNCTION:EC
EC_GROUP_new_by_curve_name_ex 4816 3_0_0 EXIST::FUNCTION:EC
EC_KEY_new_ex 4817 3_0_0 EXIST::FUNCTION:EC
EC_KEY_new_by_curve_name_ex 4818 3_0_0 EXIST::FUNCTION:EC
+OPENSSL_hexstr2buf_ex 4819 3_0_0 EXIST::FUNCTION:
+OPENSSL_buf2hexstr_ex 4820 3_0_0 EXIST::FUNCTION: