Lines Matching refs:I

29 OSSL_PARAM_allocate_from_text() uses I<key> to look up an item in
30 I<paramdefs>. If an item was found, it converts I<value> to something
31 suitable for that item's I<data_type>, and stores the result in
32 I<< to->data >> as well as its size in I<< to->data_size >>.
33 I<< to->key >> and I<< to->data_type >> are assigned the corresponding
34 values from the item that was found, and I<< to->return_size >> is set
37 I<< to->data >> is always allocated using L<OPENSSL_zalloc(3)> and
41 If I<found> is not NULL, I<*found> is set to 1 if I<key> could be
42 located in I<paramdefs>, and to 0 otherwise.
44 =head2 The use of I<key> and I<value> in detail
46 OSSL_PARAM_allocate_from_text() takes note if I<key> starts with
47 "hex", and will only use the rest of I<key> to look up an item in
48 I<paramdefs> in that case. As an example, if I<key> is "hexid", "id"
49 will be looked up in I<paramdefs>.
51 When an item in I<paramdefs> has been found, I<value> is converted
52 depending on that item's I<data_type>, as follows:
58 If I<key> didn't start with "hex", I<value> is assumed to contain
59 I<value_n> decimal characters, which are decoded, and the resulting
60 bytes become the number stored in the I<< to->data >> storage.
62 If I<value> starts with "0x", it is assumed to contain I<value_n>
65 If I<key> started with "hex", I<value> is assumed to contain
66 I<value_n> hexadecimal characters without the "0x" prefix.
68 If I<value> contains characters that couldn't be decoded as
74 If I<key> started with "hex", OSSL_PARAM_allocate_from_text()
77 Otherwise, I<value> is considered a C string and is copied to the
78 I<< to->data >> storage.
80 I<< to->data >> are converted to ASCII.
84 If I<key> started with "hex", I<value> is assumed to contain
85 I<value_n> hexadecimal characters, which are decoded, and the
86 resulting bytes are stored in the I<< to->data >> storage.
87 If I<value> contains characters that couldn't be decoded as
91 If I<key> didn't start with "hex", I<value_n> bytes from I<value> are
92 copied to the I<< to->data >> storage.
98 OSSL_PARAM_allocate_from_text() returns 1 if I<key> was found in
99 I<paramdefs> and there was no other failure, otherwise 0.
109 =item I<key>
111 =item I<data_type>
113 =item I<data_size>
119 The I<data_size> attribute can be zero, meaning that the parameter it