Searched refs:ctx (Results 1 - 25 of 74) sorted by relevance

123

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/include/idn/
H A Dresconf.h101 idn_resconf_destroy(idn_resconf_t ctx);
107 idn_resconf_incrref(idn_resconf_t ctx);
125 idn_resconf_setdefaults(idn_resconf_t ctx);
131 * store the result in 'ctx'. If 'file' is NULL, the default file is
143 idn_resconf_loadfile(idn_resconf_t ctx, const char *file);
155 * Get an object of lower module that `ctx' holds.
158 idn_resconf_getdelimitermap(idn_resconf_t ctx);
161 idn_resconf_getidnconverter(idn_resconf_t ctx);
164 idn_resconf_getauxidnconverter(idn_resconf_t ctx);
167 idn_resconf_getlocalconverter(idn_resconf_t ctx);
[all...]
H A Ducsset.h79 idn_ucsset_destroy(idn_ucsset_t ctx);
85 idn_ucsset_incrref(idn_ucsset_t ctx);
99 idn_ucsset_add(idn_ucsset_t ctx, unsigned long v);
115 idn_ucsset_addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to);
125 idn_ucsset_fix(idn_ucsset_t ctx);
139 idn_ucsset_lookup(idn_ucsset_t ctx, unsigned long v, int *found);
H A Ddelimitermap.h76 * Decrement reference count of the delimitermap `ctx' created by
81 idn_delimitermap_destroy(idn_delimitermap_t ctx);
84 * Increment reference count of the delimitermap `ctx' created by
88 idn_delimitermap_incrref(idn_delimitermap_t ctx);
99 idn_delimitermap_add(idn_delimitermap_t ctx, unsigned long delimiter);
102 idn_delimitermap_addall(idn_delimitermap_t ctx, unsigned long *delimiters,
116 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from,
H A Ducsmap.h79 idn_ucsmap_destroy(idn_ucsmap_t ctx);
86 idn_ucsmap_incrref(idn_ucsmap_t ctx);
101 idn_ucsmap_add(idn_ucsmap_t ctx, unsigned long ucs, unsigned long *map,
109 idn_ucsmap_fix(idn_ucsmap_t ctx);
124 idn_ucsmap_map(idn_ucsmap_t ctx, unsigned long v, unsigned long *to,
H A Dconverter.h104 * Decrement reference count of the converter `ctx' created by
109 idn_converter_destroy(idn_converter_t ctx);
112 * Increment reference count of the converter `ctx' created by
116 idn_converter_incrref(idn_converter_t ctx);
134 idn_converter_convfromucs4(idn_converter_t ctx,
138 idn_converter_convtoucs4(idn_converter_t ctx,
150 idn_converter_localencoding(idn_converter_t ctx);
163 idn_converter_encodingtype(idn_converter_t ctx);
173 idn_converter_isasciicompatible(idn_converter_t ctx);
221 typedef idn_result_t (*idn_converter_openproc_t)(idn_converter_t ctx,
[all...]
H A Dchecker.h101 * Decrement reference count of the checker `ctx' created by
106 idn_checker_destroy(idn_checker_t ctx);
109 * Increment reference count of the checker `ctx' created by
113 idn_checker_incrref(idn_checker_t ctx);
116 * Add checking scheme `name' to the checker to `ctx'.
124 idn_checker_add(idn_checker_t ctx, const char *name);
127 idn_checker_addall(idn_checker_t ctx, const char **names, int nnames);
130 * Check a domain name. All checking schemes regsitered in `ctx' are
139 idn_checker_lookup(idn_checker_t ctx, const unsigned long *ucs4,
147 typedef void (*idn_checker_destroyproc_t)(void *ctx);
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestsuite.c84 static void run_internal(idn_testsuite_t ctx, char *titles[]);
87 static void put_failure_message(idn_testsuite_t ctx, const char *msg,
93 idn_testsuite_t ctx = NULL; local
97 ctx = (idn_testsuite_t) malloc(sizeof(struct idn_testsuite));
98 if (ctx == NULL)
101 ctx->testcases = NULL;
102 ctx->ntestcases = 0;
103 ctx->testcase_size = 0;
104 ctx->npassed = 0;
105 ctx
129 idn_testsuite_destroy(idn_testsuite_t ctx) argument
142 idn_testsuite_addtestcase(idn_testsuite_t ctx, const char *title, idn_testsuite_testproc_t proc) argument
180 idn_testsuite_ntestcases(idn_testsuite_t ctx) argument
186 idn_testsuite_setverbose(idn_testsuite_t ctx) argument
192 idn_testsuite_unsetverbose(idn_testsuite_t ctx) argument
198 run_internal(idn_testsuite_t ctx, char *titles[]) argument
256 idn_testsuite_runall(idn_testsuite_t ctx) argument
262 idn_testsuite_run(idn_testsuite_t ctx, char *titles[]) argument
268 idn_testsuite_npassed(idn_testsuite_t ctx) argument
274 idn_testsuite_nfailed(idn_testsuite_t ctx) argument
280 idn_testsuite_nskipped(idn_testsuite_t ctx) argument
286 idn_testsuite_getstatus(idn_testsuite_t ctx) argument
292 idn_testsuite_setstatus(idn_testsuite_t ctx, idn_teststatus_t status) argument
323 idn_testsuite_assert(idn_testsuite_t ctx, const char *msg, const char *file, int lineno) argument
334 idn_testsuite_assertint(idn_testsuite_t ctx, int gotten, int expected, const char *file, int lineno) argument
351 idn_testsuite_assertstring(idn_testsuite_t ctx, const char *gotten, const char *expected, const char *file, int lineno) argument
385 idn_testsuite_assertptr(idn_testsuite_t ctx, const void *gotten, const void *expected, const char *file, int lineno) argument
407 idn_testsuite_assertptrne(idn_testsuite_t ctx, const void *gotten, const void *unexpected, const char *file, int lineno) argument
430 idn_testsuite_assertresult(idn_testsuite_t ctx, idn_result_t gotten, idn_result_t expected, const char *file, int lineno) argument
449 idn_testsuite_assertucs4string(idn_testsuite_t ctx, const unsigned long *gotten, const unsigned long *expected, const char *file, int lineno) argument
554 put_failure_message(idn_testsuite_t ctx, const char *msg, const char *file, int lineno) argument
[all...]
H A Dtestsuite.h69 typedef void (*idn_testsuite_testproc_t)(idn_testsuite_t ctx);
92 idn_testsuite_destroy(idn_testsuite_t ctx);
99 idn_testsuite_addtestcase(idn_testsuite_t ctx, const char *title,
106 idn_testsuite_ntestcases(idn_testsuite_t ctx);
112 idn_testsuite_runall(idn_testsuite_t ctx);
114 idn_testsuite_run(idn_testsuite_t ctx, char *titles[]);
126 idn_testsuite_npassed(idn_testsuite_t ctx);
128 idn_testsuite_nfailed(idn_testsuite_t ctx);
130 idn_testsuite_nskipped(idn_testsuite_t ctx);
138 idn_testsuite_getstatus(idn_testsuite_t ctx);
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Ducsmap.c114 static unsigned long *save_mapped_sequence(idn_ucsmap_t ctx,
122 idn_ucsmap_t ctx; local
128 if ((ctx = malloc(sizeof(*ctx))) == NULL) {
133 ctx->entry_size = 0;
134 ctx->nentries = 0;
135 ctx->entries = NULL;
136 ctx->mapdata = NULL;
137 ctx->mapdata_size = 0;
138 ctx
146 idn_ucsmap_destroy(idn_ucsmap_t ctx) argument
161 idn_ucsmap_incrref(idn_ucsmap_t ctx) argument
168 idn_ucsmap_add(idn_ucsmap_t ctx, unsigned long ucs, unsigned long *map, size_t maplen) argument
223 idn_ucsmap_fix(idn_ucsmap_t ctx) argument
266 idn_ucsmap_map(idn_ucsmap_t ctx, unsigned long v, unsigned long *to, size_t tolen, size_t *maplenp) argument
326 save_mapped_sequence(idn_ucsmap_t ctx, unsigned long *map, size_t maplen) argument
[all...]
H A Ddelimitermap.c79 idn_delimitermap_t ctx = NULL; local
85 ctx = (idn_delimitermap_t) malloc(sizeof(struct idn_delimitermap));
86 if (ctx == NULL) {
92 ctx->delimiters = (unsigned long *) malloc(sizeof(unsigned long)
94 if (ctx->delimiters == NULL) {
98 ctx->ndelimiters = 0;
99 ctx->delimiter_size = DELIMITERMAP_INITIAL_DELIMITER_SIZE;
100 ctx->reference_count = 1;
101 *ctxp = ctx;
106 free(ctx);
112 idn_delimitermap_destroy(idn_delimitermap_t ctx) argument
130 idn_delimitermap_incrref(idn_delimitermap_t ctx) argument
141 idn_delimitermap_add(idn_delimitermap_t ctx, unsigned long delimiter) argument
176 idn_delimitermap_addall(idn_delimitermap_t ctx, unsigned long *delimiters, int ndelimiters) argument
199 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument
[all...]
H A Dresconf.c127 static idn_result_t parse_conf(idn_resconf_t ctx, FILE *fp);
128 static idn_result_t parse_idn_encoding(idn_resconf_t ctx, char *args,
130 static idn_result_t parse_local_map(idn_resconf_t ctx, char *args,
132 static idn_result_t parse_nameprep(idn_resconf_t ctx, char *args,
135 static void resetconf(idn_resconf_t ctx);
137 static idn_result_t update_local_converter(idn_resconf_t ctx);
139 static idn_result_t setdefaults_body(idn_resconf_t ctx, int conf_mask);
175 idn_resconf_t ctx = NULL; local
186 if ((ctx = malloc(sizeof(*ctx)))
326 idn_resconf_loadfile(idn_resconf_t ctx, const char *file) argument
368 idn_resconf_destroy(idn_resconf_t ctx) argument
386 idn_resconf_incrref(idn_resconf_t ctx) argument
397 idn_resconf_getalternateconverter(idn_resconf_t ctx) argument
406 idn_resconf_getdelimitermap(idn_resconf_t ctx) argument
417 idn_resconf_getidnconverter(idn_resconf_t ctx) argument
428 idn_resconf_getauxidnconverter(idn_resconf_t ctx) argument
439 idn_resconf_getlocalconverter(idn_resconf_t ctx) argument
458 idn_resconf_getlocalmapselector(idn_resconf_t ctx) argument
469 idn_resconf_getmapper(idn_resconf_t ctx) argument
480 idn_resconf_getnormalizer(idn_resconf_t ctx) argument
491 idn_resconf_getprohibitchecker(idn_resconf_t ctx) argument
502 idn_resconf_getunassignedchecker(idn_resconf_t ctx) argument
513 idn_resconf_getbidichecker(idn_resconf_t ctx) argument
524 idn_resconf_setalternateconverter(idn_resconf_t ctx, idn_converter_t alternate_converter) argument
532 idn_resconf_setdelimitermap(idn_resconf_t ctx, idn_delimitermap_t delimiter_mapper) argument
546 idn_resconf_setidnconverter(idn_resconf_t ctx, idn_converter_t idn_converter) argument
560 idn_resconf_setauxidnconverter(idn_resconf_t ctx, idn_converter_t aux_idn_converter) argument
574 idn_resconf_setlocalconverter(idn_resconf_t ctx, idn_converter_t local_converter) argument
597 idn_resconf_setlocalmapselector(idn_resconf_t ctx, idn_mapselector_t local_mapper) argument
611 idn_resconf_setmapper(idn_resconf_t ctx, idn_mapper_t mapper) argument
624 idn_resconf_setnormalizer(idn_resconf_t ctx, idn_normalizer_t normalizer) argument
637 idn_resconf_setprohibitchecker(idn_resconf_t ctx, idn_checker_t prohibit_checker) argument
651 idn_resconf_setunassignedchecker(idn_resconf_t ctx, idn_checker_t unassigned_checker) argument
665 idn_resconf_setbidichecker(idn_resconf_t ctx, idn_checker_t bidi_checker) argument
679 idn_resconf_setnameprepversion(idn_resconf_t ctx, const char *version) argument
793 idn_resconf_setalternateconvertername(idn_resconf_t ctx, const char *name, int flags) argument
804 idn_resconf_setidnconvertername(idn_resconf_t ctx, const char *name, int flags) argument
826 idn_resconf_setauxidnconvertername(idn_resconf_t ctx, const char *name, int flags) argument
855 idn_resconf_setlocalconvertername(idn_resconf_t ctx, const char *name, int flags) argument
889 idn_resconf_addalldelimitermapucs(idn_resconf_t ctx, unsigned long *v, int nv) argument
906 idn_resconf_addalllocalmapselectornames(idn_resconf_t ctx, const char *tld, const char **names, int nnames) argument
926 idn_resconf_addallmappernames(idn_resconf_t ctx, const char **names, int nnames) argument
945 idn_resconf_addallnormalizernames(idn_resconf_t ctx, const char **names, int nnames) argument
964 idn_resconf_addallprohibitcheckernames(idn_resconf_t ctx, const char **names, int nnames) argument
997 idn_resconf_addallunassignedcheckernames(idn_resconf_t ctx, const char **names, int nnames) argument
1031 idn_resconf_addallbidicheckernames(idn_resconf_t ctx, const char **names, int nnames) argument
1064 parse_conf(idn_resconf_t ctx, FILE *fp) argument
1156 parse_idn_encoding(idn_resconf_t ctx, char *args, int lineno) argument
1181 parse_local_map(idn_resconf_t ctx, char *args, int lineno) argument
1220 parse_nameprep(idn_resconf_t ctx, char *args, int lineno) argument
1369 resetconf(idn_resconf_t ctx) argument
1386 update_local_converter(idn_resconf_t ctx) argument
1430 idn_resconf_setdefaults(idn_resconf_t ctx) argument
1450 setdefaults_body(idn_resconf_t ctx, int conf_mask) argument
[all...]
H A Ducsset.c124 static idn_result_t addrange(idn_ucsset_t ctx, unsigned long from,
129 idn_ucsset_create(idn_ucsset_t *ctx) { argument
132 assert(ctx != NULL);
144 *ctx = bm;
149 idn_ucsset_destroy(idn_ucsset_t ctx) { argument
150 assert(ctx != NULL && ctx->refcnt > 0);
154 if (--ctx->refcnt == 0) {
155 if (ctx->ranges != NULL)
156 free(ctx
162 idn_ucsset_incrref(idn_ucsset_t ctx) argument
171 idn_ucsset_add(idn_ucsset_t ctx, unsigned long v) argument
180 idn_ucsset_addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to) argument
192 idn_ucsset_fix(idn_ucsset_t ctx) argument
263 idn_ucsset_lookup(idn_ucsset_t ctx, unsigned long v, int *found) argument
308 addrange(idn_ucsset_t ctx, unsigned long from, unsigned long to, char *func_name) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/
H A Dhmacsha.c43 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, argument
49 memset(ctx->key, 0, sizeof(ctx->key));
50 if (len > sizeof(ctx->key)) {
54 isc_sha1_final(&sha1ctx, ctx->key);
56 memmove(ctx->key, key, len);
58 isc_sha1_init(&ctx->sha1ctx);
61 ipad[i] ^= ctx->key[i];
62 isc_sha1_update(&ctx->sha1ctx, ipad, sizeof(ipad));
66 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) { argument
76 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
86 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
112 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
124 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
147 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument
156 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
166 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
191 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
203 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
226 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument
235 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
245 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
270 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
282 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
305 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument
314 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
324 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
349 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
361 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
384 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument
393 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
403 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
428 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
[all...]
H A Diterated_hash.c32 isc_sha1_t ctx; local
39 isc_sha1_init(&ctx);
40 isc_sha1_update(&ctx, in, inlength);
41 isc_sha1_update(&ctx, salt, saltlength);
42 isc_sha1_final(&ctx, out);
H A Dhmacmd5.c43 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, argument
49 memset(ctx->key, 0, sizeof(ctx->key));
50 if (len > sizeof(ctx->key)) {
54 isc_md5_final(&md5ctx, ctx->key);
56 memmove(ctx->key, key, len);
58 isc_md5_init(&ctx->md5ctx);
61 ipad[i] ^= ctx->key[i];
62 isc_md5_update(&ctx->md5ctx, ipad, sizeof(ipad));
66 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) { argument
76 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
86 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) argument
108 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest) argument
113 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) argument
[all...]
H A Dmem.c92 isc_mem_t *ctx; member in union:__anon184::__anon185
214 print_active(isc_mem_t *ctx, FILE *out);
351 more_basic_blocks(isc_mem_t *ctx) { argument
365 increment = NUM_BASIC_BLOCKS * ctx->mem_target;
366 if (ctx->quota != 0U && ctx->total + increment > ctx->quota)
369 INSIST(ctx->basic_table_count <= ctx->basic_table_size);
370 if (ctx
421 more_frags(isc_mem_t *ctx, size_t new_size) argument
483 mem_getunlocked(isc_mem_t *ctx, size_t size) argument
564 mem_putunlocked(isc_mem_t *ctx, void *mem, size_t size) argument
612 mem_get(isc_mem_t *ctx, size_t size) argument
640 mem_put(isc_mem_t *ctx, void *mem, size_t size) argument
656 mem_getstats(isc_mem_t *ctx, size_t size) argument
673 mem_putstats(isc_mem_t *ctx, void *ptr, size_t size) argument
732 isc_mem_t *ctx; local
878 destroy(isc_mem_t *ctx) argument
959 isc_mem_t *ctx; local
991 isc_mem_t *ctx; local
1051 isc_mem_t *ctx; local
1077 isc_mem_ondestroy(isc_mem_t *ctx, isc_task_t *task, isc_event_t **event) argument
1089 isc__mem_get(isc_mem_t *ctx, size_t size FLARG) argument
1133 isc__mem_put(isc_mem_t *ctx, void *ptr, size_t size FLARG) argument
1186 isc_mem_waterack(isc_mem_t *ctx, int flag) argument
1242 isc_mem_stats(isc_mem_t *ctx, FILE *out) argument
1323 isc__mem_allocateunlocked(isc_mem_t *ctx, size_t size) argument
1346 isc__mem_allocate(isc_mem_t *ctx, size_t size FLARG) argument
1391 isc__mem_reallocate(isc_mem_t *ctx, void *ptr, size_t size FLARG) argument
1429 isc__mem_free(isc_mem_t *ctx, void *ptr FLARG) argument
1504 isc_mem_setdestroycheck(isc_mem_t *ctx, isc_boolean_t flag) argument
1518 isc_mem_setquota(isc_mem_t *ctx, size_t quota) argument
1528 isc_mem_getquota(isc_mem_t *ctx) argument
1542 isc_mem_inuse(isc_mem_t *ctx) argument
1556 isc_mem_setwater(isc_mem_t *ctx, isc_mem_water_t water, void *water_arg, size_t hiwater, size_t lowater) argument
1594 isc_mem_isovermem(isc_mem_t *ctx) argument
1606 isc_mem_setname(isc_mem_t *ctx, const char *name, void *tag) argument
1617 isc_mem_getname(isc_mem_t *ctx) argument
1624 isc_mem_gettag(isc_mem_t *ctx) argument
2033 isc_mem_printactive(isc_mem_t *ctx, FILE *file) argument
2077 isc_mem_t *ctx; local
2093 isc_mem_references(isc_mem_t *ctx) argument
2115 renderctx(isc_mem_t *ctx, summarystat_t *summary, xmlTextWriterPtr writer) argument
2210 isc_mem_t *ctx; local
[all...]
H A Dbase64.c111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
113 ctx->digits = 0;
114 ctx->seen_end = ISC_FALSE;
115 ctx->length = length;
116 ctx->target = target;
120 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument
123 if (ctx->seen_end)
127 ctx->val[ctx->digits++] = s - base64;
128 if (ctx
171 base64_decode_finish(base64_decode_ctx_t *ctx) argument
181 base64_decode_ctx_t ctx; local
211 base64_decode_ctx_t ctx; local
[all...]
H A Dbase32.c149 base32_decode_init(base32_decode_ctx_t *ctx, int length, argument
152 ctx->digits = 0;
153 ctx->seen_end = ISC_FALSE;
154 ctx->seen_32 = 0;
155 ctx->length = length;
156 ctx->target = target;
157 ctx->base = base;
161 base32_decode_char(base32_decode_ctx_t *ctx, int c) { argument
165 if (ctx->seen_end)
167 if ((s = strchr(ctx
246 base32_decode_finish(base32_decode_ctx_t *ctx) argument
258 base32_decode_ctx_t ctx; local
298 base32_decode_ctx_t ctx; local
325 base32_decode_ctx_t ctx; local
[all...]
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dhmacsha.h66 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key,
70 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx);
73 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf,
77 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
80 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
84 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key,
88 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx);
91 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf,
95 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len);
98 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigne
[all...]
H A Dhmacmd5.h42 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key,
46 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx);
49 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf,
53 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest);
56 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest);
59 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len);
H A Dmd5.h60 isc_md5_init(isc_md5_t *ctx);
63 isc_md5_invalidate(isc_md5_t *ctx);
66 isc_md5_update(isc_md5_t *ctx, const unsigned char *buf, unsigned int len);
69 isc_md5_final(isc_md5_t *ctx, unsigned char *digest);
H A Dsha1.h46 isc_sha1_init(isc_sha1_t *ctx);
49 isc_sha1_invalidate(isc_sha1_t *ctx);
52 isc_sha1_update(isc_sha1_t *ctx, const unsigned char *data, unsigned int len);
55 isc_sha1_final(isc_sha1_t *ctx, unsigned char *digest);
/bind-9.6-ESV-R11/lib/lwres/
H A Dcontext.c50 lwres_context_initserial() sets the serial number for context *ctx to
62 lwres_context_sendrecv() performs I/O for the context ctx. Data are
156 lwres_context_t *ctx; local
171 ctx = malloc_function(arg, sizeof(lwres_context_t));
172 if (ctx == NULL)
178 ctx->malloc = malloc_function;
179 ctx->free = free_function;
180 ctx->arg = arg;
181 ctx->sock = -1;
183 ctx
214 lwres_context_t *ctx; local
233 lwres_context_nextserial(lwres_context_t *ctx) argument
241 lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial) argument
249 lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len) argument
258 lwres_context_allocmem(lwres_context_t *ctx, size_t len) argument
288 context_connect(lwres_context_t *ctx) argument
366 lwres_context_getsocket(lwres_context_t *ctx) argument
371 lwres_context_send(lwres_context_t *ctx, void *sendbase, int sendlen) argument
393 lwres_context_recv(lwres_context_t *ctx, void *recvbase, int recvlen, int *recvd_len) argument
452 lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len) argument
[all...]
H A Dcontext_p.h27 * Helper functions, assuming the context is always called "ctx" in
30 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len))
31 #define CTXFREE(addr, len) ctx->free(ctx->arg, (addr), (len))
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dconvert.c60 idnConvDone(idn_resconf_t ctx) argument
62 if (ctx != NULL) {
64 idn_resconf_destroy(ctx);
72 idn_resconf_t ctx; local
88 if ((r = idn_resconf_create(&ctx)) != idn_success) {
96 if ((r = idn_resconf_loadfile(ctx, NULL)) != idn_success) {
99 if ((r = idn_resconf_setdefaults(ctx)) != idn_success) {
103 idnConvDone(ctx);
113 r = idn_resconf_setlocalconvertername(ctx, encoding,
119 idnConvDone(ctx);
133 idnConvReq(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument
164 idnConvRsp(idn_resconf_t ctx, const char FAR *from, char FAR *to, size_t tolen) argument
[all...]

Completed in 1247 milliseconds

123