/bind-9.11.3/contrib/queryperf/utils/ |
H A D | gen-data-queryperf.py | 30 def remove_tld(label, tld): 31 if label.endswith('.' + tld + '.'): 32 return label[0:-(1 + len(tld) + 1)] 34 return label 37 # characters allowed in a label 43 Generate a random DNS label. 47 label = "" 49 label = label + gen.choice(LDH) 50 return label [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | res.c | 97 * label to convert. 110 labellist_t label); 117 static void labellist_destroy(labellist_t label); 118 static idn_result_t labellist_setname(labellist_t label, 121 labellist_getname(labellist_t label); 123 labellist_gettldname(labellist_t label); 124 static idn_result_t labellist_getnamelist(labellist_t label, 127 static void labellist_undo(labellist_t label); 128 static labellist_t labellist_tail(labellist_t label); 129 static labellist_t labellist_previous(labellist_t label); 937 labellist_destroy(labellist_t label) argument 949 labellist_setname(labellist_t label, const unsigned long *name) argument 970 labellist_getname(labellist_t label) argument 975 labellist_gettldname(labellist_t label) argument 989 labellist_getnamelist(labellist_t label, unsigned long *name, size_t name_length) argument 1013 labellist_undo(labellist_t label) argument 1021 labellist_tail(labellist_t label) argument 1032 labellist_previous(labellist_t label) argument 1039 label_localdecodecheck(idn_resconf_t ctx, labellist_t label) argument 1093 label_idndecode(idn_resconf_t ctx, labellist_t label) argument 1168 label_idnencode_ace(idn_resconf_t ctx, labellist_t label) argument 1245 label_localmap(idn_resconf_t ctx, labellist_t label) argument 1304 label_map(idn_resconf_t ctx, labellist_t label) argument 1355 label_normalize(idn_resconf_t ctx, labellist_t label) argument 1407 label_prohcheck(idn_resconf_t ctx, labellist_t label) argument 1433 label_unascheck(idn_resconf_t ctx, labellist_t label) argument 1459 label_bidicheck(idn_resconf_t ctx, labellist_t label) argument 1485 label_asccheck(idn_resconf_t ctx, labellist_t label) argument 1522 label_lencheck_ace(idn_resconf_t ctx, labellist_t label) argument 1544 label_lencheck_nonace(idn_resconf_t ctx, labellist_t label) argument 1599 label_rtcheck(idn_resconf_t ctx, idn_action_t actions, labellist_t label, const unsigned long *original_name) argument [all...] |
/bind-9.11.3/bin/pkcs11/ |
H A D | pkcs11-destroy.c | 44 * pkcs11-destroy [-m module] [-s $slot] [-i $id | -l $label] 85 char *label = NULL; local 109 label = isc_commandline_argument; 131 if (errflg || (id && (label != NULL))) { 134 "[-i id | -l label] [-p pin] [-w waittime]\n"); 141 } else if (label) { 143 search_template[0].pValue = label; 144 search_template[0].ulValueLen = strlen(label); 175 ((id != 0) || (label != NULL)) ? 1 : 0); 219 printf(" object[%u]: class %lu, label ' [all...] |
H A D | pkcs11-list.c | 35 /* pkcs11-list [-P] [-m module] [-s slot] [-i $id | -l $label] [-p $pin] */ 70 char *label = NULL; local 96 label = isc_commandline_argument; 117 "[-i id | -l label] [-p pin]\n"); 121 if (!id && (label == NULL)) 131 } else if (label != NULL) { 132 printf("label %s\n", label); 134 search_template[0].pValue = label; 135 search_template[0].ulValueLen = strlen(label); [all...] |
H A D | pkcs11-keygen.c | 51 * [-i id] [-p pin] -l label 263 "\tpkcs11-keygen -a algorithm -b keysize -l label\n" 279 CK_CHAR *label = NULL; local 326 label = (CK_CHAR *)isc_commandline_argument; 355 if (label == NULL && isc_commandline_index < argc) 356 label = (CK_CHAR *)argv[isc_commandline_index]; 358 if (errflg || (label == NULL)) 531 search_template[0].pValue = label; 532 search_template[0].ulValueLen = strlen((char *)label); 533 public_template[0].pValue = label; [all...] |
/bind-9.11.3/bin/tests/pkcs11/benchmarks/ |
H A D | create.c | 88 char label[16]; variable 107 { CKA_LABEL, (CK_BYTE_PTR) label, (CK_ULONG) sizeof(label) }, 210 (void) snprintf(label, sizeof(label), "obj%u", i); 211 kTemplate[3].ulValueLen = strlen(label);
|
H A D | pubrsa.c | 108 char label[16]; variable 128 { CKA_LABEL, (CK_BYTE_PTR) label, (CK_ULONG) sizeof(label) }, 230 (void) snprintf(label, sizeof(label), "obj%u", i); 231 kTemplate[4].ulValueLen = strlen(label);
|
H A D | find.c | 85 CK_BYTE label[] = "foo??bar!!"; variable 95 { CKA_LABEL, label, (CK_ULONG) sizeof(label) },
|
H A D | privrsa.c | 181 char label[16]; variable 201 { CKA_LABEL, (CK_BYTE_PTR) label, (CK_ULONG) sizeof(label) }, 309 (void) snprintf(label, sizeof(label), "obj%u", i); 310 kTemplate[4].ulValueLen = strlen(label);
|
/bind-9.11.3/bin/dnssec/ |
H A D | dnssec-keyfromlabel.c | 64 fprintf(stderr, " %s -l label [options] name\n\n", 68 fprintf(stderr, " -l label: label of the key pair\n"); 156 char *label = NULL; local 234 label = isc_mem_strdup(mctx, isc_commandline_argument); 365 if (label == NULL) 366 fatal("the key label was not specified"); 383 if (strchr(label, ':') == NULL) { 387 len = strlen(label) + 8; 391 snprintf(l, len, "pkcs11:%s", label); [all...] |
H A D | dnssec-signzone.c | 1967 * Extract the hash from the first label of 'name' then see if it 1979 dns_label_t label; local 1991 * Get the first label. 1993 dns_name_getlabel(name, 0, &label); 1996 * We want just the label contents. 1998 isc_region_consume(&label, 1); 2004 result = isc_base32hex_decoderegion(&label, &target);
|
/bind-9.11.3/lib/dns/ |
H A D | pkcs11eddsa_link.c | 64 const char *label, dst_key_t *pub); 765 if (key->label != NULL) { 767 priv.elements[i].length = strlen(key->label) + 1; 768 priv.elements[i].data = (unsigned char *)key->label; 783 pkcs11eddsa_fetch(dst_key_t *key, const char *engine, const char *label, argument 804 if (label == NULL) 837 ret = pk11_parse_uri(ec, label, key->mctx, OP_EC); 877 key->label = isc_mem_strdup(key->mctx, label); 878 if (key->label 903 const char *engine = NULL, *label = NULL; local 1009 pkcs11eddsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument [all...] |
H A D | opensslrsa_link.c | 1395 if (key->label != NULL) { 1398 (unsigned short)strlen(key->label) + 1; 1399 priv.elements[i].data = (unsigned char *)key->label; 1467 const char *engine = NULL, *label = NULL; local 1509 label = (char *)priv.elements[i].data; 1520 if (label != NULL) { 1527 pkey = ENGINE_load_private_key(ep, label, NULL, NULL); 1535 key->label = isc_mem_strdup(key->mctx, label); 1536 if (key->label 1667 opensslrsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument [all...] |
H A D | pkcs11ecdsa_link.c | 66 const char *label, dst_key_t *pub); 779 if (key->label != NULL) { 781 priv.elements[i].length = strlen(key->label) + 1; 782 priv.elements[i].data = (unsigned char *)key->label; 797 pkcs11ecdsa_fetch(dst_key_t *key, const char *engine, const char *label, argument 818 if (label == NULL) 851 ret = pk11_parse_uri(ec, label, key->mctx, OP_EC); 891 key->label = isc_mem_strdup(key->mctx, label); 892 if (key->label 917 const char *engine = NULL, *label = NULL; local 1023 pkcs11ecdsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument [all...] |
H A D | dst_internal.h | 109 char *label; /*%< engine label (HSM) */ member in struct:dst_key 224 const char *label, const char *pin);
|
H A D | pkcs11rsa_link.c | 46 const char *label, dst_key_t *pub); 1676 if (key->label != NULL) { 1679 (unsigned short)strlen(key->label) + 1; 1680 priv.elements[i].data = (unsigned char *)key->label; 1697 pkcs11rsa_fetch(dst_key_t *key, const char *engine, const char *label, argument 1718 if (label == NULL) 1751 ret = pk11_parse_uri(rsa, label, key->mctx, OP_RSA); 1791 key->label = isc_mem_strdup(key->mctx, label); 1792 if (key->label 1886 const char *engine = NULL, *label = NULL; local 2050 pkcs11rsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument [all...] |
H A D | name.c | 287 * Does 'name' end in the root label? 317 * Root label. 367 * Root label. 425 unsigned int label; local 435 * Skip first label. 441 label = 1; 445 while (label + 1 < name->labels) { 451 label++; 602 * other extended label types. 844 * ended with the root label an 915 dns_name_getlabel(const dns_name_t *name, unsigned int n, dns_label_t *label) argument 1086 unsigned char *ndata, *label = NULL; local [all...] |
H A D | rpz.c | 1756 dns_name_t *label, *origin, *name; local 1833 label = dns_fixedname_name(&labelf); 1839 result = dns_rbtnodechain_current(&chain, label, origin, 1854 result = dns_name_concatenate(label,
|
H A D | dst_api.c | 924 const char *engine, const char *label, const char *pin, 934 REQUIRE(label != NULL); 947 result = key->func->fromlabel(key, engine, label, pin); 1242 if (key->label != NULL) 1243 isc_mem_free(mctx, key->label); 922 dst_key_fromlabel(dns_name_t *name, int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, const char *engine, const char *label, const char *pin, isc_mem_t *mctx, dst_key_t **keyp) argument
|
/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | nsec3_50.c | 363 dns_label_t label; local 372 * First label is a base32hex string without padding. 374 dns_name_getlabel(name, 0, &label); 375 isc_region_consume(&label, 1); 377 if (isc_base32hexnp_decoderegion(&label, &buffer) == ISC_R_SUCCESS)
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | rpz.h | 269 unsigned int label; member in struct:__anon126::__anon128
|
H A D | name.h | 33 * label handles to be created and attached to uncompressed wire format 79 ***** A 'label' is basically a region. It contains one DNS wire format 80 ***** label of type 00 (ordinary). 88 ***** Note that all names are not required to end with the root label, 155 * match (sizeof(A) - 1) which is the offset of the root label. 316 * Does 'name' end in the root label? 322 * \li TRUE The last label in 'name' is the root label. 323 * \li FALSE The last label in 'name' is not the root label [all...] |
/bind-9.11.3/lib/isc/include/pk11/ |
H A D | pk11.h | 140 isc_result_t pk11_parse_uri(pk11_object_t *obj, const char *label,
|
/bind-9.11.3/lib/dns/include/dst/ |
H A D | dst.h | 557 const char *engine, const char *label, const char *pin,
|
/bind-9.11.3/lib/isc/ |
H A D | pk11.c | 613 memmove(token->name, tokenInfo.label, 32); 1157 pk11_parse_uri(pk11_object_t *obj, const char *label, argument 1170 len = strlen(label) + 1; 1174 memmove(uri, label, len); 1216 /* token: CK_TOKEN_INFO label */
|