Searched refs:keydata (Results 1 - 25 of 37) sorted by relevance

12

/bind-9.11.3/lib/dns/
H A Dkeydata.c9 /* $Id: keydata.c,v 1.3 2009/07/01 23:47:36 tbox Exp $ */
23 #include <dns/keydata.h>
26 dns_keydata_todnskey(dns_rdata_keydata_t *keydata, argument
29 REQUIRE(keydata != NULL && dnskey != NULL);
32 dnskey->common.rdclass = keydata->common.rdclass;
34 dnskey->flags = keydata->flags;
35 dnskey->protocol = keydata->protocol;
36 dnskey->algorithm = keydata->algorithm;
38 dnskey->datalen = keydata->datalen;
41 dnskey->data = keydata
53 dns_keydata_fromdnskey(dns_rdata_keydata_t *keydata, dns_rdata_dnskey_t *dnskey, isc_uint32_t refresh, isc_uint32_t addhd, isc_uint32_t removehd, isc_mem_t *mctx) argument
[all...]
H A Dhmac_link.c72 dst_hmacmd5_key_t *hkey = key->keydata.hmacmd5;
132 hkey1 = key1->keydata.hmacmd5;
133 hkey2 = key2->keydata.hmacmd5;
183 dst_hmacmd5_key_t *hkey = key->keydata.hmacmd5;
187 key->keydata.hmacmd5 = NULL;
195 REQUIRE(key->keydata.hmacmd5 != NULL);
197 hkey = key->keydata.hmacmd5;
235 key->keydata.hmacmd5 = hkey;
250 if (key->keydata.hmacmd5 == NULL)
256 hkey = key->keydata
[all...]
H A Dopensslgost_link.c159 EVP_PKEY *pkey = key->keydata.pkey;
179 EVP_PKEY *pkey = key->keydata.pkey;
198 pkey1 = key1->keydata.pkey;
199 pkey2 = key2->keydata.pkey;
256 key->keydata.pkey = pkey;
271 EVP_PKEY *pkey = key->keydata.pkey;
282 EVP_PKEY *pkey = key->keydata.pkey;
285 key->keydata.pkey = NULL;
303 REQUIRE(key->keydata.pkey != NULL);
305 pkey = key->keydata
[all...]
H A Dopensslecdsa_link.c146 EVP_PKEY *pkey = key->keydata.pkey;
200 EVP_PKEY *pkey = key->keydata.pkey;
261 EVP_PKEY *pkey1 = key1->keydata.pkey;
262 EVP_PKEY *pkey2 = key2->keydata.pkey;
337 key->keydata.pkey = pkey;
349 EVP_PKEY *pkey = key->keydata.pkey;
360 EVP_PKEY *pkey = key->keydata.pkey;
363 key->keydata.pkey = NULL;
376 REQUIRE(key->keydata.pkey != NULL);
378 pkey = key->keydata
[all...]
H A Dopenssleddsa_link.c257 EVP_PKEY *pkey = key->keydata.pkey;
306 EVP_PKEY *pkey = key->keydata.pkey;
361 EVP_PKEY *pkey1 = key1->keydata.pkey;
362 EVP_PKEY *pkey2 = key2->keydata.pkey;
410 key->keydata.pkey = pkey;
421 EVP_PKEY *pkey = key->keydata.pkey;
440 EVP_PKEY *pkey = key->keydata.pkey;
443 key->keydata.pkey = NULL;
448 EVP_PKEY *pkey = key->keydata.pkey;
454 pkey = key->keydata
[all...]
H A Dgssapi_link.c136 gss_ctx_id_t gssctx = dctx->key->keydata.gssctx;
191 gss_ctx_id_t gssctx = dctx->key->keydata.gssctx;
248 gss_ctx_id_t gsskey1 = key1->keydata.gssctx;
249 gss_ctx_id_t gsskey2 = key2->keydata.gssctx;
274 dst_gssapi_deletectx(key->mctx, &key->keydata.gssctx);
275 key->keydata.gssctx = NULL;
306 &key->keydata.gssctx);
326 major = gss_export_sec_context(&minor, &key->keydata.gssctx,
H A Dopensslrsa_link.c555 EVP_PKEY *pkey = key->keydata.pkey;
557 RSA *rsa = key->keydata.rsa;
705 EVP_PKEY *pkey = key->keydata.pkey;
713 RSA *rsa = key->keydata.rsa;
895 pkey1 = key1->keydata.pkey;
896 pkey2 = key2->keydata.pkey;
910 rsa1 = key1->keydata.rsa;
911 rsa2 = key2->keydata.rsa;
1045 key->keydata.pkey = pkey;
1049 key->keydata
[all...]
H A Dpkcs11gost_link.c160 gost = key->keydata.pkey;
265 gost = key->keydata.pkey;
432 gost1 = key1->keydata.pkey;
433 gost2 = key2->keydata.pkey;
527 key->keydata.pkey = gost;
589 pk11_object_t *gost = key->keydata.pkey;
600 pk11_object_t *gost = key->keydata.pkey;
630 key->keydata.pkey = NULL;
639 REQUIRE(key->keydata.pkey != NULL);
641 gost = key->keydata
[all...]
H A Dopenssldh_link.c144 REQUIRE(pub->keydata.dh != NULL);
145 REQUIRE(priv->keydata.dh != NULL);
147 dhpub = pub->keydata.dh;
148 dhpriv = priv->keydata.dh;
171 dh1 = key1->keydata.dh;
172 dh2 = key2->keydata.dh;
202 dh1 = key1->keydata.dh;
203 dh2 = key2->keydata.dh;
324 key->keydata.dh = dh;
331 DH *dh = key->keydata
[all...]
H A Dpkcs11eddsa_link.c144 pk11_object_t *ec = key->keydata.pkey;
276 pk11_object_t *ec = key->keydata.pkey;
370 ec1 = key1->keydata.pkey;
371 ec2 = key2->keydata.pkey;
493 key->keydata.pkey = ec;
574 pk11_object_t *ec = key->keydata.pkey;
585 pk11_object_t *ec = key->keydata.pkey;
613 key->keydata.pkey = NULL;
623 REQUIRE(key->keydata.pkey != NULL);
630 ec = key->keydata
[all...]
H A Dopenssldsa_link.c206 DSA *dsa = key->keydata.dsa;
305 DSA *dsa = key->keydata.dsa;
390 dsa1 = key1->keydata.dsa;
391 dsa2 = key2->keydata.dsa;
504 key->keydata.dsa = dsa;
511 DSA *dsa = key->keydata.dsa;
520 DSA *dsa = key->keydata.dsa;
522 key->keydata.dsa = NULL;
534 REQUIRE(key->keydata.dsa != NULL);
536 dsa = key->keydata
[all...]
H A Dpkcs11dh_link.c100 priv = key->keydata.pkey;
182 REQUIRE(pub->keydata.pkey != NULL);
183 REQUIRE(priv->keydata.pkey != NULL);
184 REQUIRE(priv->keydata.pkey->repr != NULL);
185 attr = pk11_attribute_bytype(pub->keydata.pkey, CKA_PRIME);
190 attr = pk11_attribute_bytype(pub->keydata.pkey, CKA_VALUE);
195 priv->keydata.pkey->reqlogon, NULL,
249 if ((hKey != CK_INVALID_HANDLE) && !priv->keydata.pkey->ontoken)
264 dh1 = key1->keydata.pkey;
265 dh2 = key2->keydata
[all...]
H A Dpkcs11ecdsa_link.c74 pk11_object_t *ec = key->keydata.pkey;
172 pk11_object_t *ec = key->keydata.pkey;
293 pk11_object_t *ec = key->keydata.pkey;
378 ec1 = key1->keydata.pkey;
379 ec2 = key2->keydata.pkey;
501 key->keydata.pkey = ec;
581 pk11_object_t *ec = key->keydata.pkey;
592 pk11_object_t *ec = key->keydata.pkey;
620 key->keydata.pkey = NULL;
630 REQUIRE(key->keydata
[all...]
H A Dpkcs11dsa_link.c99 dsa = key->keydata.pkey;
232 dsa = key->keydata.pkey;
433 dsa1 = key1->keydata.pkey;
434 dsa2 = key2->keydata.pkey;
567 key->keydata.pkey = dsa;
662 pk11_object_t *dsa = key->keydata.pkey;
673 pk11_object_t *dsa = key->keydata.pkey;
707 key->keydata.pkey = NULL;
722 REQUIRE(key->keydata.pkey != NULL);
724 dsa = key->keydata
[all...]
H A Dpkcs11rsa_link.c120 rsa = key->keydata.pkey;
356 rsa = key->keydata.pkey;
586 pk11_object_t *rsa = key->keydata.pkey;
741 pk11_object_t *rsa = key->keydata.pkey;
993 pk11_object_t *rsa = key->keydata.pkey;
1118 rsa1 = key1->keydata.pkey;
1119 rsa2 = key2->keydata.pkey;
1267 key->keydata.pkey = rsa;
1334 pk11_object_t *rsa = key->keydata.pkey;
1345 pk11_object_t *rsa = key->keydata
[all...]
H A Ddst_api.c361 if (key->keydata.generic == NULL)
424 if (key->keydata.generic == NULL)
442 if (dctx->key->keydata.generic == NULL)
458 if (dctx->key->keydata.generic == NULL)
480 if (pub->keydata.generic == NULL || priv->keydata.generic == NULL)
737 if (key->keydata.generic == NULL) /*%< NULL KEY */
852 return (key->keydata.gssctx);
880 key->keydata.gssctx = gssctx;
909 key->keydata
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dkeydata.h9 /* $Id: keydata.h,v 1.2 2009/06/30 02:52:32 each Exp $ */
18 /*! \file dns/keydata.h
36 dns_keydata_todnskey(dns_rdata_keydata_t *keydata,
40 dns_keydata_fromdnskey(dns_rdata_keydata_t *keydata,
H A Ddlz_dlopen.h135 unsigned char *keydata,
H A Dsdlz.h239 unsigned char *keydata,
/bind-9.11.3/lib/dns/rdata/generic/
H A Dkeydata_65533.c279 dns_rdata_keydata_t *keydata = source; local
283 REQUIRE(keydata->common.rdtype == type);
284 REQUIRE(keydata->common.rdclass == rdclass);
290 RETERR(uint32_tobuffer(keydata->refresh, target));
293 RETERR(uint32_tobuffer(keydata->addhd, target));
296 RETERR(uint32_tobuffer(keydata->removehd, target));
299 RETERR(uint16_tobuffer(keydata->flags, target));
302 RETERR(uint8_tobuffer(keydata->protocol, target));
305 RETERR(uint8_tobuffer(keydata->algorithm, target));
308 return (mem_tobuffer(target, keydata
313 dns_rdata_keydata_t *keydata = target; local
373 dns_rdata_keydata_t *keydata = (dns_rdata_keydata_t *) source; local
[all...]
/bind-9.11.3/lib/irs/
H A Ddnsconf.c58 unsigned char keydata[4096]; local
107 isc_buffer_init(&keydatabuf_base, keydata,
108 sizeof(keydata));
/bind-9.11.3/lib/samples/
H A Dresolve.c105 unsigned char keydata[4096]; local
139 isc_buffer_init(&keydatabuf, keydata, sizeof(keydata));
/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_minimal.h273 uint8_t *keydata, void *dbdata);
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeycreate.c137 unsigned char keydata[9]; local
163 isc_buffer_init(&keybuf, keydata, 9);
/bind-9.11.3/lib/dns/tests/
H A Dkeytable_test.c81 unsigned char keydata[4096]; local
96 isc_buffer_init(&keydatabuf, keydata, sizeof(keydata));
193 /* Add another key (different keydata) */

Completed in 4408 milliseconds

12