Imported Upstream version 1.8.4
[platform/upstream/libgcrypt.git] / doc / gcrypt.info-2
1 This is gcrypt.info, produced by makeinfo version 6.3 from gcrypt.texi.
2
3 This manual is for Libgcrypt (version 1.8.4, 24 October 2018), which is
4 GNU's library of cryptographic building blocks.
5
6 Copyright (C) 2000, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2011, 2012
7 Free Software Foundation, Inc.
8 Copyright (C) 2012, 2013, 2016, 2017 g10 Code GmbH
9
10      Permission is granted to copy, distribute and/or modify this
11      document under the terms of the GNU General Public License as
12      published by the Free Software Foundation; either version 2 of the
13      License, or (at your option) any later version.  The text of the
14      license can be found in the section entitled "GNU General Public
15      License".
16 INFO-DIR-SECTION GNU Libraries
17 START-INFO-DIR-ENTRY
18 * libgcrypt: (gcrypt).  Cryptographic function library.
19 END-INFO-DIR-ENTRY
20
21 \1f
22 File: gcrypt.info,  Node: Function and Data Index,  Prev: Concept Index,  Up: Top
23
24 Function and Data Index
25 ***********************
26
27 \0\b[index\0\b]
28 * Menu:
29
30 * AM_PATH_LIBGCRYPT:                     Building sources using Automake.
31                                                               (line  11)
32 * gcry_buffer_t:                         Buffer description.  (line   9)
33 * gcry_calloc:                           Memory allocation.   (line  15)
34 * gcry_calloc_secure:                    Memory allocation.   (line  22)
35 * gcry_check_version:                    Initializing the library.
36                                                               (line  15)
37 * gcry_cipher_algo_info:                 General cipher functions.
38                                                               (line  10)
39 * gcry_cipher_algo_name:                 General cipher functions.
40                                                               (line  59)
41 * gcry_cipher_authenticate:              Working with cipher handles.
42                                                               (line 119)
43 * gcry_cipher_checktag:                  Working with cipher handles.
44                                                               (line 136)
45 * gcry_cipher_close:                     Working with cipher handles.
46                                                               (line  62)
47 * gcry_cipher_ctl:                       Working with cipher handles.
48                                                               (line 224)
49 * gcry_cipher_decrypt:                   Working with cipher handles.
50                                                               (line 177)
51 * gcry_cipher_encrypt:                   Working with cipher handles.
52                                                               (line 154)
53 * gcry_cipher_final:                     Working with cipher handles.
54                                                               (line 203)
55 * gcry_cipher_gettag:                    Working with cipher handles.
56                                                               (line 125)
57 * gcry_cipher_get_algo_blklen:           General cipher functions.
58                                                               (line  51)
59 * gcry_cipher_get_algo_keylen:           General cipher functions.
60                                                               (line  41)
61 * gcry_cipher_info:                      Working with cipher handles.
62                                                               (line 234)
63 * gcry_cipher_map_name:                  General cipher functions.
64                                                               (line  66)
65 * gcry_cipher_mode_from_oid:             General cipher functions.
66                                                               (line  72)
67 * gcry_cipher_open:                      Working with cipher handles.
68                                                               (line   9)
69 * gcry_cipher_reset:                     Working with cipher handles.
70                                                               (line 107)
71 * gcry_cipher_setctr:                    Working with cipher handles.
72                                                               (line  98)
73 * gcry_cipher_setiv:                     Working with cipher handles.
74                                                               (line  86)
75 * gcry_cipher_setkey:                    Working with cipher handles.
76                                                               (line  71)
77 * gcry_cipher_sync:                      Working with cipher handles.
78                                                               (line 214)
79 * gcry_control:                          Controlling the library.
80                                                               (line   6)
81 * gcry_create_nonce:                     Retrieving random numbers.
82                                                               (line  27)
83 * gcry_ctx_release:                      Context management.  (line  13)
84 * gcry_ctx_t:                            Context management.  (line  10)
85 * gcry_error:                            Error Values.        (line  63)
86 * gcry_error_from_errno:                 Error Values.        (line  86)
87 * gcry_error_t:                          Error Values.        (line  24)
88 * gcry_err_code:                         Error Values.        (line  42)
89 * gcry_err_code_from_errno:              Error Values.        (line  95)
90 * gcry_err_code_t:                       Error Values.        (line   6)
91 * gcry_err_code_to_errno:                Error Values.        (line 100)
92 * gcry_err_make:                         Error Values.        (line  55)
93 * gcry_err_make_from_errno:              Error Values.        (line  79)
94 * gcry_err_source:                       Error Values.        (line  48)
95 * gcry_err_source_t:                     Error Values.        (line  13)
96 * gcry_fips_mode_active:                 Controlling the library.
97                                                               (line 252)
98 * gcry_free:                             Memory allocation.   (line  33)
99 * gcry_get_config:                       Config reporting.    (line  10)
100 * gcry_handler_alloc_t:                  Allocation handler.  (line  10)
101 * gcry_handler_error_t:                  Error handler.       (line  25)
102 * gcry_handler_free_t:                   Allocation handler.  (line  19)
103 * gcry_handler_log_t:                    Logging handler.     (line   6)
104 * gcry_handler_no_mem_t:                 Error handler.       (line  10)
105 * gcry_handler_progress_t:               Progress handler.    (line   9)
106 * gcry_handler_realloc_t:                Allocation handler.  (line  16)
107 * gcry_handler_secure_check_t:           Allocation handler.  (line  13)
108 * gcry_kdf_derive:                       Key Derivation.      (line   9)
109 * gcry_mac_algo_name:                    Working with MAC algorithms.
110                                                               (line 114)
111 * gcry_mac_close:                        Working with MAC algorithms.
112                                                               (line  48)
113 * gcry_mac_get_algo:                     Working with MAC algorithms.
114                                                               (line 105)
115 * gcry_mac_get_algo_keylen:              Working with MAC algorithms.
116                                                               (line 143)
117 * gcry_mac_get_algo_maclen:              Working with MAC algorithms.
118                                                               (line 137)
119 * gcry_mac_map_name:                     Working with MAC algorithms.
120                                                               (line 121)
121 * gcry_mac_open:                         Working with MAC algorithms.
122                                                               (line   9)
123 * gcry_mac_read:                         Working with MAC algorithms.
124                                                               (line  82)
125 * gcry_mac_reset:                        Working with MAC algorithms.
126                                                               (line  59)
127 * gcry_mac_setiv:                        Working with MAC algorithms.
128                                                               (line  40)
129 * gcry_mac_setkey:                       Working with MAC algorithms.
130                                                               (line  29)
131 * gcry_mac_test_algo:                    Working with MAC algorithms.
132                                                               (line 130)
133 * gcry_mac_verify:                       Working with MAC algorithms.
134                                                               (line  93)
135 * gcry_mac_write:                        Working with MAC algorithms.
136                                                               (line  70)
137 * gcry_malloc:                           Memory allocation.   (line   6)
138 * gcry_malloc_secure:                    Memory allocation.   (line  12)
139 * gcry_md_algo_name:                     Working with hash algorithms.
140                                                               (line 227)
141 * gcry_md_close:                         Working with hash algorithms.
142                                                               (line  78)
143 * gcry_md_copy:                          Working with hash algorithms.
144                                                               (line 101)
145 * gcry_md_debug:                         Working with hash algorithms.
146                                                               (line 298)
147 * gcry_md_enable:                        Working with hash algorithms.
148                                                               (line  57)
149 * gcry_md_extract:                       Working with hash algorithms.
150                                                               (line 167)
151 * gcry_md_final:                         Working with hash algorithms.
152                                                               (line 137)
153 * gcry_md_get_algo:                      Working with hash algorithms.
154                                                               (line 275)
155 * gcry_md_get_algo_dlen:                 Working with hash algorithms.
156                                                               (line 265)
157 * gcry_md_get_asnoid:                    Working with hash algorithms.
158                                                               (line 244)
159 * gcry_md_hash_buffer:                   Working with hash algorithms.
160                                                               (line 208)
161 * gcry_md_hash_buffers:                  Working with hash algorithms.
162                                                               (line 182)
163 * gcry_md_is_enabled:                    Working with hash algorithms.
164                                                               (line 288)
165 * gcry_md_is_secure:                     Working with hash algorithms.
166                                                               (line 282)
167 * gcry_md_map_name:                      Working with hash algorithms.
168                                                               (line 234)
169 * gcry_md_open:                          Working with hash algorithms.
170                                                               (line   9)
171 * gcry_md_putc:                          Working with hash algorithms.
172                                                               (line 126)
173 * gcry_md_read:                          Working with hash algorithms.
174                                                               (line 151)
175 * gcry_md_reset:                         Working with hash algorithms.
176                                                               (line  89)
177 * gcry_md_setkey:                        Working with hash algorithms.
178                                                               (line  66)
179 * gcry_md_test_algo:                     Working with hash algorithms.
180                                                               (line 258)
181 * gcry_md_write:                         Working with hash algorithms.
182                                                               (line 115)
183 * gcry_mpi_abs:                          Basic functions.     (line  63)
184 * gcry_mpi_add:                          Calculations.        (line   8)
185 * gcry_mpi_addm:                         Calculations.        (line  19)
186 * gcry_mpi_add_ui:                       Calculations.        (line  14)
187 * gcry_mpi_aprint:                       MPI formats.         (line  59)
188 * gcry_mpi_clear_bit:                    Bit manipulations.   (line  21)
189 * gcry_mpi_clear_flag:                   Miscellaneous.       (line  77)
190 * gcry_mpi_clear_highbit:                Bit manipulations.   (line  29)
191 * gcry_mpi_cmp:                          Comparisons.         (line   8)
192 * gcry_mpi_cmp_ui:                       Comparisons.         (line  17)
193 * gcry_mpi_copy:                         Basic functions.     (line  24)
194 * gcry_mpi_div:                          Calculations.        (line  61)
195 * gcry_mpi_dump:                         MPI formats.         (line  74)
196 * gcry_mpi_ec_add:                       EC functions.        (line 166)
197 * gcry_mpi_ec_curve_point:               EC functions.        (line 185)
198 * gcry_mpi_ec_decode_point:              EC functions.        (line 136)
199 * gcry_mpi_ec_dup:                       EC functions.        (line 160)
200 * gcry_mpi_ec_get_affine:                EC functions.        (line 147)
201 * gcry_mpi_ec_get_mpi:                   EC functions.        (line  91)
202 * gcry_mpi_ec_get_point:                 EC functions.        (line 109)
203 * gcry_mpi_ec_mul:                       EC functions.        (line 179)
204 * gcry_mpi_ec_new:                       EC functions.        (line  69)
205 * gcry_mpi_ec_set_mpi:                   EC functions.        (line 122)
206 * gcry_mpi_ec_set_point:                 EC functions.        (line 129)
207 * gcry_mpi_ec_sub:                       EC functions.        (line 172)
208 * gcry_mpi_gcd:                          Calculations.        (line  78)
209 * gcry_mpi_get_flag:                     Miscellaneous.       (line  85)
210 * gcry_mpi_get_nbits:                    Bit manipulations.   (line   9)
211 * gcry_mpi_get_opaque:                   Miscellaneous.       (line  31)
212 * gcry_mpi_invm:                         Calculations.        (line  84)
213 * gcry_mpi_is_neg:                       Comparisons.         (line  23)
214 * gcry_mpi_lshift:                       Bit manipulations.   (line  39)
215 * gcry_mpi_mod:                          Calculations.        (line  68)
216 * gcry_mpi_mul:                          Calculations.        (line  40)
217 * gcry_mpi_mulm:                         Calculations.        (line  51)
218 * gcry_mpi_mul_2exp:                     Calculations.        (line  56)
219 * gcry_mpi_mul_ui:                       Calculations.        (line  46)
220 * gcry_mpi_neg:                          Basic functions.     (line  59)
221 * gcry_mpi_new:                          Basic functions.     (line   9)
222 * gcry_mpi_point_copy:                   EC functions.        (line  23)
223 * gcry_mpi_point_get:                    EC functions.        (line  31)
224 * gcry_mpi_point_new:                    EC functions.        (line  10)
225 * gcry_mpi_point_release:                EC functions.        (line  18)
226 * gcry_mpi_point_set:                    EC functions.        (line  47)
227 * gcry_mpi_point_snatch_get:             EC functions.        (line  38)
228 * gcry_mpi_point_snatch_set:             EC functions.        (line  57)
229 * gcry_mpi_point_t:                      Data types.          (line   9)
230 * gcry_mpi_powm:                         Calculations.        (line  73)
231 * gcry_mpi_print:                        MPI formats.         (line  49)
232 * gcry_mpi_randomize:                    Miscellaneous.       (line  94)
233 * gcry_mpi_release:                      Basic functions.     (line  29)
234 * gcry_mpi_rshift:                       Bit manipulations.   (line  33)
235 * gcry_mpi_scan:                         MPI formats.         (line   9)
236 * gcry_mpi_set:                          Basic functions.     (line  37)
237 * gcry_mpi_set_bit:                      Bit manipulations.   (line  17)
238 * gcry_mpi_set_flag:                     Miscellaneous.       (line  69)
239 * gcry_mpi_set_highbit:                  Bit manipulations.   (line  25)
240 * gcry_mpi_set_opaque:                   Miscellaneous.       (line   9)
241 * gcry_mpi_set_opaque_copy:              Miscellaneous.       (line  25)
242 * gcry_mpi_set_ui:                       Basic functions.     (line  42)
243 * gcry_mpi_snatch:                       Basic functions.     (line  54)
244 * gcry_mpi_snew:                         Basic functions.     (line  17)
245 * gcry_mpi_sub:                          Calculations.        (line  24)
246 * gcry_mpi_subm:                         Calculations.        (line  35)
247 * gcry_mpi_sub_ui:                       Calculations.        (line  30)
248 * gcry_mpi_swap:                         Basic functions.     (line  50)
249 * gcry_mpi_t:                            Data types.          (line   6)
250 * gcry_mpi_test_bit:                     Bit manipulations.   (line  13)
251 * gcry_pk_algo_info:                     General public-key related Functions.
252                                                               (line  49)
253 * gcry_pk_algo_name:                     General public-key related Functions.
254                                                               (line   9)
255 * gcry_pk_ctl:                           General public-key related Functions.
256                                                               (line 101)
257 * gcry_pk_decrypt:                       Cryptographic Functions.
258                                                               (line 148)
259 * gcry_pk_encrypt:                       Cryptographic Functions.
260                                                               (line  91)
261 * gcry_pk_genkey:                        General public-key related Functions.
262                                                               (line 119)
263 * gcry_pk_get_keygrip:                   General public-key related Functions.
264                                                               (line  31)
265 * gcry_pk_get_nbits:                     General public-key related Functions.
266                                                               (line  26)
267 * gcry_pk_map_name:                      General public-key related Functions.
268                                                               (line  16)
269 * gcry_pk_sign:                          Cryptographic Functions.
270                                                               (line 187)
271 * gcry_pk_testkey:                       General public-key related Functions.
272                                                               (line  43)
273 * gcry_pk_test_algo:                     General public-key related Functions.
274                                                               (line  21)
275 * gcry_pk_verify:                        Cryptographic Functions.
276                                                               (line 279)
277 * gcry_prime_check:                      Checking.            (line   6)
278 * gcry_prime_generate:                   Generation.          (line   6)
279 * gcry_prime_group_generator:            Generation.          (line  18)
280 * gcry_prime_release_factors:            Generation.          (line  26)
281 * gcry_pubkey_get_sexp:                  General public-key related Functions.
282                                                               (line 313)
283 * gcry_randomize:                        Retrieving random numbers.
284                                                               (line   6)
285 * gcry_random_bytes:                     Retrieving random numbers.
286                                                               (line  12)
287 * gcry_random_bytes_secure:              Retrieving random numbers.
288                                                               (line  19)
289 * gcry_random_level_t:                   Quality of random numbers.
290                                                               (line   8)
291 * gcry_realloc:                          Memory allocation.   (line  25)
292 * gcry_set_allocation_handler:           Allocation handler.  (line  25)
293 * gcry_set_fatalerror_handler:           Error handler.       (line  29)
294 * gcry_set_log_handler:                  Logging handler.     (line  10)
295 * gcry_set_outofcore_handler:            Error handler.       (line  13)
296 * gcry_set_progress_handler:             Progress handler.    (line  19)
297 * gcry_sexp_build:                       Working with S-expressions.
298                                                               (line  46)
299 * gcry_sexp_canon_len:                   Working with S-expressions.
300                                                               (line 134)
301 * gcry_sexp_car:                         Working with S-expressions.
302                                                               (line 168)
303 * gcry_sexp_cdr:                         Working with S-expressions.
304                                                               (line 175)
305 * gcry_sexp_create:                      Working with S-expressions.
306                                                               (line  24)
307 * gcry_sexp_dump:                        Working with S-expressions.
308                                                               (line 125)
309 * gcry_sexp_extract_param:               Working with S-expressions.
310                                                               (line 244)
311 * gcry_sexp_find_token:                  Working with S-expressions.
312                                                               (line 146)
313 * gcry_sexp_length:                      Working with S-expressions.
314                                                               (line 155)
315 * gcry_sexp_new:                         Working with S-expressions.
316                                                               (line  11)
317 * gcry_sexp_nth:                         Working with S-expressions.
318                                                               (line 160)
319 * gcry_sexp_nth_buffer:                  Working with S-expressions.
320                                                               (line 202)
321 * gcry_sexp_nth_data:                    Working with S-expressions.
322                                                               (line 183)
323 * gcry_sexp_nth_mpi:                     Working with S-expressions.
324                                                               (line 232)
325 * gcry_sexp_nth_string:                  Working with S-expressions.
326                                                               (line 224)
327 * gcry_sexp_release:                     Working with S-expressions.
328                                                               (line  89)
329 * gcry_sexp_sprint:                      Working with S-expressions.
330                                                               (line 100)
331 * gcry_sexp_sscan:                       Working with S-expressions.
332                                                               (line  39)
333 * gcry_sexp_t:                           Data types for S-expressions.
334                                                               (line   6)
335 * gcry_strerror:                         Error Strings.       (line   6)
336 * gcry_strsource:                        Error Strings.       (line  12)
337