Searched defs:label (Results 1 - 23 of 23) sorted by relevance

/bind-9.11.3/bin/tests/pkcs11/benchmarks/
H A Dfind.c85 CK_BYTE label[] = "foo??bar!!"; variable
95 { CKA_LABEL, label, (CK_ULONG) sizeof(label) },
H A Dcreate.c88 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 Dprivrsa.c181 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);
H A Dpubrsa.c108 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);
/bind-9.11.3/lib/dns/rdata/generic/
H A Dnsec3_50.c363 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/bin/pkcs11/
H A Dpkcs11-destroy.c44 * 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 Dpkcs11-list.c35 /* 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 Dpkcs11-keygen.c51 * [-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/lib/dns/
H A Dpkcs11ecdsa_link.c66 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 Dpkcs11eddsa_link.c64 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 Dopensslrsa_link.c1395 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 Dpkcs11rsa_link.c46 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 Ddst_internal.h109 char *label; /*%< engine label (HSM) */ member in struct:dst_key
224 const char *label, const char *pin);
H A Dname.c287 * 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 Drpz.c1756 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 Ddst_api.c924 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/bin/dnssec/
H A Ddnssec-keyfromlabel.c64 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 Ddnssec-signzone.c1967 * 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/contrib/idn/idnkit-1.0-src/lib/
H A Dres.c97 * 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/lib/dns/include/dns/
H A Drpz.h269 unsigned int label; member in struct:__anon126::__anon128
/bind-9.11.3/lib/isc/
H A Dpk11.c613 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 */
/bind-9.11.3/bin/named/
H A Dserver.c157 * using it has a 'result' variable and a 'cleanup' label.
6078 char label[64], namebuf[DNS_NAME_FORMATSIZE]; local
6081 isc_uint16_t ids[12]; /* Only 12 id's will fit in a label. */
6123 label[0] = 0;
6124 r.base = label;
6125 r.length = sizeof(label);;
6138 result = dns_name_fromstring2(tatname, label, name, 0, NULL);
/bind-9.11.3/lib/isc/include/pkcs11/
H A Dpkcs11t.h131 CK_UTF8CHAR label[32]; /* blank padded */ member in struct:CK_TOKEN_INFO

Completed in 92 milliseconds