Searched refs:tkey (Results 1 - 25 of 49) sorted by relevance

12

/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
H A Dtkey_249.c16 /* draft-ietf-dnsext-tkey-01.txt */
364 dns_rdata_tkey_t *tkey = source; local
367 REQUIRE(tkey != NULL);
368 REQUIRE(tkey->common.rdtype == type);
369 REQUIRE(tkey->common.rdclass == rdclass);
377 RETERR(name_tobuffer(&tkey->algorithm, target));
382 RETERR(uint32_tobuffer(tkey->inception, target));
387 RETERR(uint32_tobuffer(tkey->expire, target));
392 RETERR(uint16_tobuffer(tkey->mode, target));
397 RETERR(uint16_tobuffer(tkey
422 dns_rdata_tkey_t *tkey = target; local
515 dns_rdata_tkey_t *tkey = (dns_rdata_tkey_t *)source; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/rdata/generic/
H A Dtkey_249.c16 /* draft-ietf-dnsext-tkey-01.txt */
364 dns_rdata_tkey_t *tkey = source; local
367 REQUIRE(tkey != NULL);
368 REQUIRE(tkey->common.rdtype == type);
369 REQUIRE(tkey->common.rdclass == rdclass);
377 RETERR(name_tobuffer(&tkey->algorithm, target));
382 RETERR(uint32_tobuffer(tkey->inception, target));
387 RETERR(uint32_tobuffer(tkey->expire, target));
392 RETERR(uint16_tobuffer(tkey->mode, target));
397 RETERR(uint16_tobuffer(tkey
422 dns_rdata_tkey_t *tkey = target; local
515 dns_rdata_tkey_t *tkey = (dns_rdata_tkey_t *)source; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Dtsig.c178 remove_fromring(dns_tsigkey_t *tkey) { argument
179 if (tkey->generated) {
180 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link);
181 tkey->ring->generated--;
183 (void)dns_rbt_deletename(tkey->ring->keys, &tkey->name, false);
187 adjust_lru(dns_tsigkey_t *tkey) { argument
188 if (tkey->generated) {
189 RWLOCK(&tkey
211 keyring_add(dns_tsig_keyring_t *ring, const dns_name_t *name, dns_tsigkey_t *tkey) argument
255 dns_tsigkey_t *tkey; local
397 dns_tsigkey_t *tkey; local
575 dump_key(dns_tsigkey_t *tkey, FILE *fp) argument
609 dns_tsigkey_t *tkey; local
1870 dns_tsigkeyring_add(dns_tsig_keyring_t *ring, const dns_name_t *name, dns_tsigkey_t *tkey) argument
[all...]
H A Dtkey.c1 /* $NetBSD: tkey.c,v 1.14 2024/02/21 22:52:08 christos Exp $ */
48 #include <dns/tkey.h>
370 tkey_log("process_dhtkey: tkey-dhkey not defined");
521 * accept with tkey-gssapi-credential, or you have to
522 * configure a specific keytab (with tkey-gssapi-keytab) in
526 tkey_log("process_gsstkey(): no tkey-gssapi-credential "
527 "or tkey-gssapi-keytab configured");
818 tkey_log("dns_tkey_processquery: tkey-domain not set");
955 buildquery(dns_message_t *msg, const dns_name_t *name, dns_rdata_tkey_t *tkey, argument
967 REQUIRE(tkey !
1045 dns_rdata_tkey_t tkey; local
1121 dns_rdata_tkey_t tkey; local
1169 dns_rdata_tkey_t tkey; local
1494 dns_rdata_tkey_t rtkey, qtkey, tkey; local
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dtsig.c182 remove_fromring(dns_tsigkey_t *tkey) { argument
183 if (tkey->generated) {
184 ISC_LIST_UNLINK(tkey->ring->lru, tkey, link);
185 tkey->ring->generated--;
187 (void)dns_rbt_deletename(tkey->ring->keys, &tkey->name, false);
191 adjust_lru(dns_tsigkey_t *tkey) { argument
192 if (tkey->generated) {
193 RWLOCK(&tkey
215 keyring_add(dns_tsig_keyring_t *ring, const dns_name_t *name, dns_tsigkey_t *tkey) argument
253 dns_tsigkey_t *tkey; local
395 dns_tsigkey_t *tkey; local
573 dump_key(dns_tsigkey_t *tkey, FILE *fp) argument
607 dns_tsigkey_t *tkey; local
1851 dns_tsigkeyring_add(dns_tsig_keyring_t *ring, const dns_name_t *name, dns_tsigkey_t *tkey) argument
[all...]
H A Dtkey.c1 /* $NetBSD: tkey.c,v 1.1 2024/02/18 20:57:34 christos Exp $ */
43 #include <dns/tkey.h>
369 tkey_log("process_dhtkey: tkey-dhkey not defined");
520 * accept with tkey-gssapi-credential, or you have to
521 * configure a specific keytab (with tkey-gssapi-keytab) in
525 tkey_log("process_gsstkey(): no tkey-gssapi-credential "
526 "or tkey-gssapi-keytab configured");
817 tkey_log("dns_tkey_processquery: tkey-domain not set");
954 buildquery(dns_message_t *msg, const dns_name_t *name, dns_rdata_tkey_t *tkey, argument
966 REQUIRE(tkey !
1044 dns_rdata_tkey_t tkey; local
1120 dns_rdata_tkey_t tkey; local
1168 dns_rdata_tkey_t tkey; local
1493 dns_rdata_tkey_t rtkey, qtkey, tkey; local
[all...]
H A DMakefile.in78 stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
113 stats.c tcpmsg.c time.c timer.c tkey.c \
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/cms/
H A Dcms_enc.c30 unsigned char *tkey = NULL; local
92 tkey = OPENSSL_malloc(tkeylen);
93 if (tkey == NULL) {
97 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0)
102 ec->key = tkey;
104 tkey = NULL;
126 ec->key = tkey;
128 tkey = NULL;
163 OPENSSL_clear_free(tkey, tkeylen);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms_enc.c35 unsigned char *tkey = NULL; local
123 tkey = OPENSSL_malloc(tkeylen);
124 if (tkey == NULL) {
128 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0)
133 ec->key = tkey;
135 tkey = NULL;
156 ec->key = tkey;
158 tkey = NULL;
200 OPENSSL_clear_free(tkey, tkeylen);
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dcmd_args.c122 u_long tkey; local
125 tkey = (int)atol(p);
126 if (tkey == 0 || tkey > NTP_MAXKEY) {
131 authtrust(tkey, 1);
/netbsd-current/external/mpl/bind/dist/bin/tests/system/nsupdate/
H A Dsetup.sh29 # If "tkey-gssapi-credential" is set in the configuration and GSSAPI support is
32 # "tkey-gssapi-credential" is only present in named.conf if GSSAPI support is
34 copy_setports ns9/named.conf.in ns9/named.conf.in.tkey
35 copy_setports ns10/named.conf.in ns10/named.conf.in.tkey
37 sed 's|@TKEY_CONFIGURATION@|tkey-gssapi-credential "DNS/ns9.example.com@EXAMPLE.COM";|' ns9/named.conf.in.tkey >ns9/named.conf
38 sed 's|@TKEY_CONFIGURATION@|tkey-gssapi-credential "DNS/ns10.example.com@EXAMPLE.COM";|' ns10/named.conf.in.tkey >ns10/named.conf
40 sed 's|@TKEY_CONFIGURATION@||' ns9/named.conf.in.tkey >ns9/named.conf
41 sed 's|@TKEY_CONFIGURATION@||' ns10/named.conf.in.tkey >ns1
[all...]
/netbsd-current/sys/crypto/aes/
H A Daes_ct.c393 uint32_t tkey[60]; local
402 tkey[0] = skey[4*num_rounds + 0];
403 tkey[1] = skey[4*num_rounds + 1];
404 tkey[2] = skey[4*num_rounds + 2];
405 tkey[3] = skey[4*num_rounds + 3];
417 tkey[4*(num_rounds - i) + 0] = q[2*0];
418 tkey[4*(num_rounds - i) + 1] = q[2*1];
419 tkey[4*(num_rounds - i) + 2] = q[2*2];
420 tkey[4*(num_rounds - i) + 3] = q[2*3];
422 tkey[
[all...]
/netbsd-current/external/mpl/bind/dist/tests/isc/
H A Dht_test.c213 unsigned char *tkey = NULL; local
217 isc_ht_iter_currentkey(iter, &tkey, &tksize);
222 assert_memory_equal(key, tkey, 16);
232 unsigned char *tkey = NULL; local
236 isc_ht_iter_currentkey(iter, &tkey, &tksize);
241 assert_memory_equal(key, tkey, 16);
256 unsigned char *tkey = NULL; local
260 isc_ht_iter_currentkey(iter, &tkey, &tksize);
265 assert_memory_equal(key, tkey, 16);
/netbsd-current/external/mpl/bind/dist/bin/tests/system/
H A DMakefile.am31 tkey/keycreate \
32 tkey/keydelete
187 tkey \
H A DMakefile.in104 @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tkey/keycreate$(EXEEXT) \
105 @HAVE_PERL_TRUE@@HAVE_PYTEST_TRUE@@HAVE_PYTHON_TRUE@ tkey/keydelete$(EXEEXT)
165 tkey_keycreate_SOURCES = tkey/keycreate.c
166 tkey_keycreate_OBJECTS = tkey/keycreate-keycreate.$(OBJEXT)
170 tkey_keydelete_SOURCES = tkey/keydelete.c
171 tkey_keydelete_OBJECTS = tkey/keydelete-keydelete.$(OBJEXT)
195 tkey/$(DEPDIR)/keycreate-keycreate.Po \
196 tkey/$(DEPDIR)/keydelete-keydelete.Po
217 resolve.c rndc/gencheck.c rpz/dnsrps.c tkey/keycreate.c \
218 tkey/keydelet
[all...]
H A Dconf.sh.in65 export KEYCREATE=$TOP_BUILDDIR/bin/tests/system/tkey/keycreate
66 export KEYDELETE=$TOP_BUILDDIR/bin/tests/system/tkey/keydelete
/netbsd-current/lib/libc/db/btree/
H A Dbt_put.c73 DBT tkey, tdata; local
128 tkey.data = kb;
129 tkey.size = NOVFLSIZE;
134 key = &tkey;
/netbsd-current/external/mpl/bind/dist/bin/tests/system/checkconf/
H A Ddeprecated.conf31 tkey-dhkey "server" 12345;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pkcs7/
H A Dpk7_doit.c372 unsigned char *ek = NULL, *tkey = NULL; local
525 tkey = OPENSSL_malloc(tkeylen);
526 if (tkey == NULL)
528 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0)
531 ek = tkey;
533 tkey = NULL;
545 ek = tkey;
547 tkey = NULL;
557 OPENSSL_clear_free(tkey, tkeylen);
558 tkey
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A Dtsig.h266 dns_tsigkey_t *tkey);
271 *\li 'ring', 'name' and 'tkey' are not NULL
/netbsd-current/external/mpl/bind/dist/lib/dns/include/dns/
H A Dtsig.h264 dns_tsigkey_t *tkey);
270 *\li 'tkey' is a valid TSIG key, which has not been
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pkcs7/
H A Dpk7_doit.c410 unsigned char *ek = NULL, *tkey = NULL; local
606 tkey = OPENSSL_malloc(tkeylen);
607 if (tkey == NULL)
609 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0)
612 ek = tkey;
614 tkey = NULL;
626 ek = tkey;
628 tkey = NULL;
638 OPENSSL_clear_free(tkey, tkeylen);
639 tkey
[all...]
/netbsd-current/external/bsd/jemalloc/dist/src/
H A Dckh.c136 const void *key, *data, *tkey, *tdata; local
159 tkey = cell->key; tdata = cell->data;
161 key = tkey; data = tdata;
/netbsd-current/external/mpl/bind/dist/bin/named/
H A Dtkeyconf.c27 #include <dns/tkey.h>
66 result = cfg_map_get(options, "tkey-dhkey", &obj);
80 result = cfg_map_get(options, "tkey-domain", &obj);
93 result = cfg_map_get(options, "tkey-gssapi-credential", &obj);
105 result = cfg_map_get(options, "tkey-gssapi-keytab", &obj);
/netbsd-current/external/mpl/bind/lib/libdns/
H A DMakefile57 soa.c ssu.c ssu_external.c stats.c time.c tkey.c transport.c \

Completed in 431 milliseconds

12