Richard Levitte ab00ddb559 OSSL_PARAM: Add string pointer getters
When some function receives an OSSL_PARAM array to pilfer for data,
and there is a string of some sort, and all the code needs is to get
the pointer to the data, rather than a copy, there is currently no
other way than to use |param->data| directly.  This is of course a
valid method, but lacks any safety check (is |param->data_type|
correct, for example?).

OSSL_PARAM_get_utf8_string_ptr() and OSSL_PARAM_get_octet_string_ptr()
helps the programmer with such things, by setting the argument pointer
to |param->data|.
Additionally, the handle the data types OSSL_PARAM_UTF8_PTR and
OSSL_PARAM_OCTET_PTR as well.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12512)
2020-08-24 10:02:26 +02:00
..
2019-07-02 14:22:29 +02:00
2020-06-04 14:33:57 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-07-16 14:47:04 +02:00
2020-07-05 01:49:20 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2019-10-11 15:30:57 +02:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2019-10-11 15:30:57 +02:00
2020-08-06 13:22:30 +01:00
2019-10-31 14:26:34 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2019-08-19 07:19:56 +02:00
2020-08-07 14:16:47 +10:00
2020-08-06 13:22:30 +01:00
2020-08-09 17:34:52 +10:00
2019-07-01 10:09:22 +02:00
2020-08-09 17:34:52 +10:00
2020-07-05 01:49:20 +02:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-05-15 14:09:49 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2020-06-04 14:33:57 +01:00
2020-06-04 14:33:57 +01:00
2020-07-05 01:49:20 +02:00
2020-07-05 01:49:20 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2019-11-15 17:20:33 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2019-11-15 17:20:33 +01:00
2020-08-06 13:22:30 +01:00
2020-07-24 18:14:03 +03:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-06-25 14:13:12 +01:00
2019-07-02 14:22:29 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-06-04 14:33:57 +01:00
2020-08-11 20:39:19 +10:00
2020-08-06 13:22:30 +01:00
2020-07-05 01:49:20 +02:00
2020-08-07 14:16:47 +10:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2019-12-11 19:04:01 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-06-18 10:10:48 +03:00
2020-06-24 20:07:46 +10:00
2020-04-23 13:55:52 +01:00
2019-10-09 17:44:04 +02:00
2020-08-06 13:22:30 +01:00
2020-08-09 17:34:52 +10:00
2020-08-09 17:34:52 +10:00
2020-07-16 14:47:04 +02:00
2020-08-07 14:16:47 +10:00
2020-08-07 14:16:47 +10:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2019-10-31 14:26:34 +01:00
2020-08-09 17:34:52 +10:00
2020-08-06 13:22:30 +01:00
2020-05-15 14:09:49 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-30 14:14:05 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2020-04-23 13:55:52 +01:00
2020-08-09 17:34:52 +10:00
2020-04-23 13:55:52 +01:00
2020-04-28 09:06:04 +10:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-07-24 22:53:27 +10:00
2020-04-23 13:55:52 +01:00