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

12345

/bind-9.11.3/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.11.3/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.11.3/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.11.3/lib/isc/
H A Dhmacsha.c36 #define HMAC_CTX_new() &(ctx->_ctx), HMAC_CTX_init(&(ctx->_ctx))
41 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, argument
44 ctx->ctx = HMAC_CTX_new();
45 RUNTIME_CHECK(ctx->ctx != NULL);
46 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key,
51 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) { argument
59 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
66 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
79 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
89 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument
97 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
104 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
117 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
127 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument
135 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
142 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
155 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
165 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument
173 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
180 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
193 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
203 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument
211 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
218 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
252 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
292 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) argument
307 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
319 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
336 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
371 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) argument
379 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
391 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
422 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
462 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument
477 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
489 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
506 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
541 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument
549 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
561 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
592 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
632 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument
647 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
659 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
676 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
711 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument
719 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
731 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
762 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
802 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument
817 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
829 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
846 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
881 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument
889 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
901 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
932 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
972 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument
987 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
999 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1016 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
1051 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument
1059 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
1071 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1109 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument
1132 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) argument
1142 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument
1152 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
1177 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument
1200 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument
1209 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument
1219 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
1243 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument
1266 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument
1275 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument
1285 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
1309 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument
1332 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument
1341 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument
1351 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
1375 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument
1398 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument
1407 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument
1417 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1443 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument
1456 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument
1469 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument
1482 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument
1495 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument
1514 isc_hmacsha1_t ctx; local
[all...]
H A Dapp_api.c79 isc_app_ctxstart(isc_appctx_t *ctx) { argument
80 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
83 return (isc__app_ctxstart(ctx));
85 return (ctx->methods->ctxstart(ctx));
89 isc_app_ctxrun(isc_appctx_t *ctx) { argument
90 REQUIRE(ISCAPI_APPCTX_VALID(ctx));
93 return (isc__app_ctxrun(ctx));
95 return (ctx->methods->ctxrun(ctx));
99 isc_app_ctxonrun(isc_appctx_t *ctx, isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action, void *arg) argument
112 isc_app_ctxsuspend(isc_appctx_t *ctx) argument
122 isc_app_ctxshutdown(isc_appctx_t *ctx) argument
132 isc_app_ctxfinish(isc_appctx_t *ctx) argument
142 isc_appctx_settaskmgr(isc_appctx_t *ctx, isc_taskmgr_t *taskmgr) argument
153 isc_appctx_setsocketmgr(isc_appctx_t *ctx, isc_socketmgr_t *socketmgr) argument
164 isc_appctx_settimermgr(isc_appctx_t *ctx, isc_timermgr_t *timermgr) argument
[all...]
H A Dhmacmd5.c38 #define HMAC_CTX_new() &(ctx->_ctx), HMAC_CTX_init(&(ctx->_ctx))
43 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, argument
46 ctx->ctx = HMAC_CTX_new();
47 RUNTIME_CHECK(ctx->ctx != NULL);
48 RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key,
53 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) { argument
61 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
68 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) argument
82 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
122 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) argument
137 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
149 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) argument
168 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
201 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) argument
209 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
221 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) argument
259 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
282 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx) argument
292 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
302 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) argument
326 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest) argument
331 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) argument
350 isc_hmacmd5_t ctx; local
[all...]
H A Diterated_hash.c24 isc_sha1_t ctx; local
31 isc_sha1_init(&ctx);
32 isc_sha1_update(&ctx, in, inlength);
33 isc_sha1_update(&ctx, salt, saltlength);
34 isc_sha1_final(&ctx, out);
H A Dbase64.c102 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
104 ctx->digits = 0;
105 ctx->seen_end = ISC_FALSE;
106 ctx->length = length;
107 ctx->target = target;
111 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument
114 if (ctx->seen_end)
118 ctx->val[ctx->digits++] = (int)(s - base64);
119 if (ctx
162 base64_decode_finish(base64_decode_ctx_t *ctx) argument
172 base64_decode_ctx_t ctx; local
202 base64_decode_ctx_t ctx; local
[all...]
H A Dhex.c80 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument
82 ctx->digits = 0;
83 ctx->length = length;
84 ctx->target = target;
88 hex_decode_char(hex_decode_ctx_t *ctx, int c) { argument
93 ctx->val[ctx->digits++] = (int)(s - hex);
94 if (ctx->digits == 2) {
97 num = (ctx->val[0] << 4) + (ctx
111 hex_decode_finish(hex_decode_ctx_t *ctx) argument
121 hex_decode_ctx_t ctx; local
151 hex_decode_ctx_t ctx; local
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dhmacsha.h36 HMAC_CTX *ctx; member in struct:__anon229
88 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key,
92 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx);
95 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf,
99 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
102 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len);
109 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key,
113 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx);
116 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf,
120 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigne
[all...]
H A Dhmacmd5.h35 HMAC_CTX *ctx; member in struct:__anon227
57 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key,
61 isc_hmacmd5_invalidate(isc_hmacmd5_t *ctx);
64 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf,
68 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest);
71 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest);
74 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len);
/bind-9.11.3/lib/lwres/
H A Dcontext.c41 lwres_context_initserial() sets the serial number for context *ctx to
53 lwres_context_sendrecv() performs I/O for the context ctx. Data are
147 lwres_context_t *ctx; local
162 ctx = malloc_function(arg, sizeof(lwres_context_t));
163 if (ctx == NULL)
169 ctx->malloc = malloc_function;
170 ctx->free = free_function;
171 ctx->arg = arg;
172 ctx->sock = -1;
174 ctx
209 lwres_context_t *ctx; local
228 lwres_context_nextserial(lwres_context_t *ctx) argument
236 lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial) argument
244 lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len) argument
253 lwres_context_allocmem(lwres_context_t *ctx, size_t len) argument
283 context_connect(lwres_context_t *ctx) argument
369 lwres_context_getsocket(lwres_context_t *ctx) argument
374 lwres_context_send(lwres_context_t *ctx, void *sendbase, int sendlen) argument
396 lwres_context_recv(lwres_context_t *ctx, void *recvbase, int recvlen, int *recvd_len) argument
455 lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len) argument
[all...]
H A Dcontext_p.h18 * Helper functions, assuming the context is always called "ctx" in
21 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len))
22 #define CTXFREE(addr, len) ctx->free(ctx->arg, (addr), (len))
/bind-9.11.3/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...]
/bind-9.11.3/lib/isc/win32/
H A Dapp.c48 isc_result_t isc__app_ctxstart(isc_appctx_t *ctx);
51 isc_result_t isc__app_ctxrun(isc_appctx_t *ctx);
53 isc_result_t isc__app_ctxshutdown(isc_appctx_t *ctx);
56 isc_result_t isc__app_ctxsuspend(isc_appctx_t *ctx);
57 void isc__app_ctxfinish(isc_appctx_t *ctx);
63 void isc__appctx_settaskmgr(isc_appctx_t *ctx, isc_taskmgr_t *taskmgr);
64 void isc__appctx_setsocketmgr(isc_appctx_t *ctx, isc_socketmgr_t *socketmgr);
65 void isc__appctx_settimermgr(isc_appctx_t *ctx, isc_timermgr_t *timermgr);
66 isc_result_t isc__app_ctxonrun(isc_appctx_t *ctx, isc_mem_t *mctx,
149 isc__appctx_t *ctx local
203 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
240 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
318 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
347 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
377 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
409 isc__appctx_t *ctx; local
436 isc__appctx_t *ctx; local
449 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
458 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
467 isc__appctx_t *ctx = (isc__appctx_t *)ctx0; local
[all...]
/bind-9.11.3/lib/dns/
H A Ddst_gost.h22 EVP_MD_CTX *ctx; member in struct:__anon104
40 isc_gost_init(isc_gost_t *ctx);
43 isc_gost_invalidate(isc_gost_t *ctx);
46 isc_gost_update(isc_gost_t *ctx, const unsigned char *data, unsigned int len);
49 isc_gost_final(isc_gost_t *ctx, unsigned char *digest);

Completed in 101 milliseconds

12345