Lines Matching refs:OSSL_PARAM
35 - OSSL_PARAM helpers
64 OSSL_PARAM OSSL_PARAM_construct_TYPE(const char *key, TYPE *buf);
65 OSSL_PARAM OSSL_PARAM_construct_BN(const char *key, unsigned char *buf,
67 OSSL_PARAM OSSL_PARAM_construct_utf8_string(const char *key, char *buf,
69 OSSL_PARAM OSSL_PARAM_construct_octet_string(const char *key, void *buf,
71 OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf,
73 OSSL_PARAM OSSL_PARAM_construct_octet_ptr(const char *key, void **buf,
75 OSSL_PARAM OSSL_PARAM_construct_end(void);
77 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *array, const char *key);
78 const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *array,
81 int OSSL_PARAM_get_TYPE(const OSSL_PARAM *p, TYPE *val);
82 int OSSL_PARAM_set_TYPE(OSSL_PARAM *p, TYPE val);
84 int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val);
85 int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val);
87 int OSSL_PARAM_get_utf8_string(const OSSL_PARAM *p, char **val,
89 int OSSL_PARAM_set_utf8_string(OSSL_PARAM *p, const char *val);
91 int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val,
93 int OSSL_PARAM_set_octet_string(OSSL_PARAM *p, const void *val, size_t len);
95 int OSSL_PARAM_get_utf8_ptr(const OSSL_PARAM *p, const char **val);
96 int OSSL_PARAM_set_utf8_ptr(OSSL_PARAM *p, const char *val);
98 int OSSL_PARAM_get_octet_ptr(const OSSL_PARAM *p, const void **val,
100 int OSSL_PARAM_set_octet_ptr(OSSL_PARAM *p, const void *val,
103 int OSSL_PARAM_get_utf8_string_ptr(const OSSL_PARAM *p, const char **val);
104 int OSSL_PARAM_get_octet_string_ptr(const OSSL_PARAM *p, const void **val,
107 int OSSL_PARAM_modified(const OSSL_PARAM *param);
108 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *params);
113 B<OSSL_PARAM> arrays. The following B<I<TYPE>> names are supported:
164 array of B<OSSL_PARAM> structures.
175 This should terminate all B<OSSL_PARAM> arrays.
178 B<OSSL_PARAM> (typically used in the construction of B<OSSL_PARAM> arrays). The
180 I<data_type>, I<data> and I<data_size> fields of the B<OSSL_PARAM> structure as
181 described on the L<OSSL_PARAM(3)> page.
183 OSSL_PARAM_construct_TYPE() are a series of functions that create B<OSSL_PARAM>
189 B<OSSL_PARAM> structure.
194 string B<OSSL_PARAM> structure.
200 string B<OSSL_PARAM> structure.
204 pointer B<OSSL_PARAM> structure.
209 pointer B<OSSL_PARAM> structure.
214 B<OSSL_PARAM> structure.
317 return a populated B<OSSL_PARAM> structure.
320 the matching B<OSSL_PARAM> object. They return NULL on error or when
335 I<bsize> is not relevant if the purpose is to send the B<OSSL_PARAM> array
338 See L<OSSL_PARAM(3)/DESCRIPTION> for further information on the
343 Reusing the examples from L<OSSL_PARAM(3)> to just show how
344 B<OSSL_PARAM> arrays can be handled using the macros and functions
356 const OSSL_PARAM set[] = {
370 OSSL_PARAM request[] = {
379 /* OSSL_PARAM *params */
381 OSSL_PARAM *p;
392 L<openssl-core.h(7)>, L<OSSL_PARAM(3)>