Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 25 of 96) sorted by relevance

1234

/netbsd/src/external/bsd/tmux/dist/
Dtty-keys.c431 struct tty_key *tk; in tty_keys_add() local
436 if ((tk = tty_keys_find(tty, s, strlen(s), &size)) == NULL) { in tty_keys_add()
441 tk->key = key; in tty_keys_add()
449 struct tty_key *tk; in tty_keys_add1() local
452 tk = *tkp; in tty_keys_add1()
453 if (tk == NULL) { in tty_keys_add1()
454 tk = *tkp = xcalloc(1, sizeof *tk); in tty_keys_add1()
455 tk->ch = *s; in tty_keys_add1()
456 tk->key = KEYC_UNKNOWN; in tty_keys_add1()
460 if (*s == tk->ch) { in tty_keys_add1()
[all …]
/netbsd/src/sys/netinet/
Dsctp_hashdriver.c81 unsigned char tk[20]; in sctp_hash_digest() local
89 MD5Final(tk, &tctx); in sctp_hash_digest()
90 key = tk; in sctp_hash_digest()
96 SHA1Final(tk, &tctx); in sctp_hash_digest()
97 key = tk; in sctp_hash_digest()
168 unsigned char tk[20]; in sctp_hash_digest_m() local
176 MD5Final(tk, &tctx); in sctp_hash_digest_m()
177 key = tk; in sctp_hash_digest_m()
183 SHA1Final(tk, &tctx); in sctp_hash_digest_m()
184 key = tk; in sctp_hash_digest_m()
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-alg-fst.c45 #define tk xtk.x8 in rijndaelKeySched() macro
49 *((word32*)tk[j]) = *((word32*)k[j]); in rijndaelKeySched()
56 *((word32*)W[r][t]) = *((word32*)tk[j]); in rijndaelKeySched()
66 tk[0][0] ^= S[tk[KC-1][1]]; in rijndaelKeySched()
67 tk[0][1] ^= S[tk[KC-1][2]]; in rijndaelKeySched()
68 tk[0][2] ^= S[tk[KC-1][3]]; in rijndaelKeySched()
69 tk[0][3] ^= S[tk[KC-1][0]]; in rijndaelKeySched()
70 tk[0][0] ^= rcon[rconpointer++]; in rijndaelKeySched()
74 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); in rijndaelKeySched()
78 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); in rijndaelKeySched()
[all …]
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dsha1.c30 unsigned char tk[20]; in hmac_sha1_vector() local
45 if (sha1_vector(1, &key, &key_len, tk)) in hmac_sha1_vector()
47 key = tk; in hmac_sha1_vector()
90 forced_memzero(tk, sizeof(tk)); in hmac_sha1_vector()
Dsha256.c30 unsigned char tk[32]; in hmac_sha256_vector() local
45 if (sha256_vector(1, &key, &key_len, tk) < 0) in hmac_sha256_vector()
47 key = tk; in hmac_sha256_vector()
94 forced_memzero(tk, sizeof(tk)); in hmac_sha256_vector()
Dmd5.c30 u8 tk[16]; in hmac_md5_vector() local
45 if (md5_vector(1, &key, &key_len, tk)) in hmac_md5_vector()
47 key = tk; in hmac_md5_vector()
91 os_memset(tk, 0, sizeof(tk)); in hmac_md5_vector()
Dcrypto_internal.c44 u8 tk[32]; in crypto_hash_init() local
79 MD5Final(tk, &ctx->u.md5); in crypto_hash_init()
80 key = tk; in crypto_hash_init()
98 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init()
99 key = tk; in crypto_hash_init()
118 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
119 key = tk; in crypto_hash_init()
Dsha384.c30 unsigned char tk[48]; in hmac_sha384_vector() local
44 if (sha384_vector(1, &key, &key_len, tk) < 0) in hmac_sha384_vector()
46 key = tk; in hmac_sha384_vector()
Dsha512.c30 unsigned char tk[64]; in hmac_sha512_vector() local
44 if (sha512_vector(1, &key, &key_len, tk) < 0) in hmac_sha512_vector()
46 key = tk; in hmac_sha512_vector()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dgengtype-state.cc348 struct state_token_st *tk = NULL; in read_a_state_token() local
387 tk = XCNEW (struct state_token_st); in read_a_state_token()
388 tk->stok_kind = STOK_INTEGER; in read_a_state_token()
389 tk->stok_line = state_line; in read_a_state_token()
390 tk->stok_col = curoff - state_bol; in read_a_state_token()
391 tk->stok_file = state_path; in read_a_state_token()
392 tk->stok_next = NULL; in read_a_state_token()
393 tk->stok_un.stok_num = n; in read_a_state_token()
395 return tk; in read_a_state_token()
401 tk = XCNEW (struct state_token_st); in read_a_state_token()
[all …]
/netbsd/src/external/bsd/wpa/dist/src/common/
Dcommon_module_tests.c637 const u8 tk[] = { in pasn_test_pasn_auth() local
665 if (ptk.tk_len != sizeof(tk) || in pasn_test_pasn_auth()
666 os_memcmp(tk, ptk.tk, sizeof(tk)) != 0) { in pasn_test_pasn_auth()
716 const u8 tk[] = { in pasn_test_no_pasn_auth() local
750 if (ptk.tk_len != sizeof(tk) || in pasn_test_no_pasn_auth()
751 os_memcmp(tk, ptk.tk, sizeof(tk)) != 0) { in pasn_test_no_pasn_auth()
/netbsd/src/external/gpl3/gdb/dist/gdb/config/djgpp/
Dfnchange.lst465 @V@/gdb/testsuite/gdb.gdbtk/ChangeLog @V@/gdb/testsuite/gdb.tk/ChangeLog
466 @V@/gdb/testsuite/gdb.gdbtk/Makefile.in @V@/gdb/testsuite/gdb.tk/Makefile.in
467 @V@/gdb/testsuite/gdb.gdbtk/browser.exp @V@/gdb/testsuite/gdb.tk/browser.exp
468 @V@/gdb/testsuite/gdb.gdbtk/browser.test @V@/gdb/testsuite/gdb.tk/browser.test
469 @V@/gdb/testsuite/gdb.gdbtk/c_variable.c @V@/gdb/testsuite/gdb.tk/c_variable.c
470 @V@/gdb/testsuite/gdb.gdbtk/c_variable.exp @V@/gdb/testsuite/gdb.tk/c_variable.exp
471 @V@/gdb/testsuite/gdb.gdbtk/c_variable.test @V@/gdb/testsuite/gdb.tk/c_variable.test
472 @V@/gdb/testsuite/gdb.gdbtk/configure @V@/gdb/testsuite/gdb.tk/configure
473 @V@/gdb/testsuite/gdb.gdbtk/configure.in @V@/gdb/testsuite/gdb.tk/configure.in
474 @V@/gdb/testsuite/gdb.gdbtk/console.exp @V@/gdb/testsuite/gdb.tk/console.exp
[all …]
/netbsd/src/regress/sys/fs/lfs/ckckp/
Dcheck-all282 for ($tk = $oind; $tk < $k; $tk++) {
283 print "Test roll-forward agent at non-checkpoint pseg $tk\n";
284 print LOG "Test roll-forward agent at non-checkpoint pseg $tk\n";
285 &copypseg($oind, $tk);
/netbsd/src/external/gpl2/xcvs/dist/lib/
Dmktime.c557 check_result (time_t tk, struct tm tmk, time_t tl, const struct tm *lt) in check_result() argument
559 if (tk != tl || !lt || not_equal_tm (&tmk, lt)) in check_result()
565 printf (") == %ld, should be %ld\n", (long int) tk, (long int) tl); in check_result()
578 time_t tk, tl, tl1; in main() local
618 tk = mktime (&tmk); in main()
619 status |= check_result (tk, tmk, tl, &tml); in main()
638 tk = tl; in main()
639 status |= check_result (tk, tmk, tl, &tml); in main()
/netbsd/src/external/bsd/tcpdump/dist/
Dsignature.c60 unsigned char tk[16]; in signature_compute_hmac_md5() local
70 MD5_Final(tk, &tctx); in signature_compute_hmac_md5()
72 key = tk; in signature_compute_hmac_md5()
/netbsd/src/lib/libcrypt/
Dhmac.c77 unsigned char tk[HASH_LENGTH]; in HMAC_FUNC() local
89 HASH_Final(tk, &tctx); in HMAC_FUNC()
91 key = tk; in HMAC_FUNC()
/netbsd/src/external/bsd/wpa/dist/src/eap_server/
Deap_server_peap.c329 u8 *tk; in eap_peap_derive_cmk() local
350 tk = eap_server_tls_derive_key(sm, &data->ssl, label, in eap_peap_derive_cmk()
353 if (tk == NULL) in eap_peap_derive_cmk()
355 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
359 os_memcpy(data->ipmk, tk, 40); in eap_peap_derive_cmk()
362 os_memcpy(data->cmk, tk + 40, 20); in eap_peap_derive_cmk()
365 os_free(tk); in eap_peap_derive_cmk()
379 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
380 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
385 os_free(tk); in eap_peap_derive_cmk()
[all …]
/netbsd/src/external/gpl3/gcc/dist/
DMakefile.def448 dependencies = { module=configure-libgui; on=configure-tk; };
450 dependencies = { module=all-libgui; on=all-tk; };
539 dependencies = { module=all-dejagnu; on=all-tk; };
541 dependencies = { module=configure-expect; on=configure-tk; };
543 dependencies = { module=all-expect; on=all-tk; };
548 dependencies = { module=configure-itcl; on=configure-tk; };
550 dependencies = { module=all-itcl; on=all-tk; };
554 dependencies = { module=configure-tk; on=configure-tcl; };
555 dependencies = { module=all-tk; on=all-tcl; };
561 dependencies = { module=all-sid; on=all-tk; };
[all …]
/netbsd/src/external/gpl3/binutils/dist/
DMakefile.def469 dependencies = { module=configure-libgui; on=configure-tk; };
471 dependencies = { module=all-libgui; on=all-tk; };
578 dependencies = { module=all-dejagnu; on=all-tk; };
580 dependencies = { module=configure-expect; on=configure-tk; };
582 dependencies = { module=all-expect; on=all-tk; };
587 dependencies = { module=configure-itcl; on=configure-tk; };
589 dependencies = { module=all-itcl; on=all-tk; };
593 dependencies = { module=configure-tk; on=configure-tcl; };
594 dependencies = { module=all-tk; on=all-tcl; };
600 dependencies = { module=all-sid; on=all-tk; };
[all …]
/netbsd/src/external/gpl3/gdb/dist/
DMakefile.def470 dependencies = { module=configure-libgui; on=configure-tk; };
472 dependencies = { module=all-libgui; on=all-tk; };
579 dependencies = { module=all-dejagnu; on=all-tk; };
581 dependencies = { module=configure-expect; on=configure-tk; };
583 dependencies = { module=all-expect; on=all-tk; };
588 dependencies = { module=configure-itcl; on=configure-tk; };
590 dependencies = { module=all-itcl; on=all-tk; };
594 dependencies = { module=configure-tk; on=configure-tcl; };
595 dependencies = { module=all-tk; on=all-tcl; };
601 dependencies = { module=all-sid; on=all-tk; };
[all …]
/netbsd/src/external/bsd/libbind/dist/dst/
Dhmac_link.c228 u_char tk[MD5_LEN]; in dst_buffer_to_hmac_md5() local
243 MD5Final(tk, &ctx); in dst_buffer_to_hmac_md5()
245 key = tk; in dst_buffer_to_hmac_md5()
/netbsd/src/lib/libresolv/
Dhmac_link.c218 u_char tk[MD5_LEN]; in dst_buffer_to_hmac_md5() local
233 MD5Final(tk, &ctx); in dst_buffer_to_hmac_md5()
235 key = tk; in dst_buffer_to_hmac_md5()
/netbsd/src/external/bsd/wpa/dist/src/eap_peer/
Deap_peap.c269 u8 *tk; in eap_peap_derive_cmk() local
277 tk = data->key_data; in eap_peap_derive_cmk()
278 if (tk == NULL) in eap_peap_derive_cmk()
280 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
289 os_memcpy(data->ipmk, tk, 40); in eap_peap_derive_cmk()
292 os_memcpy(data->cmk, tk + 40, 20); in eap_peap_derive_cmk()
309 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
310 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
/netbsd/src/external/lgpl3/gmp/dist/tune/
Dtuneup.c1182 double tk, tm; in fft() local
1192 tk = tuneup_measure (p->mul_modf_function, NULL, &s); in fft()
1193 if (tk == -1.0) in fft()
1203 (long) size + fft_step_size (k) / 2, k, tk, in fft()
1206 if (tk < tm) in fft()
1226 double tk, tm; in fft() local
1236 tk = tuneup_measure (p->function, NULL, &s); in fft()
1237 if (tk == -1.0) in fft()
1248 (long) mulmod_size, tk, in fft()
1253 if (tk < tm) in fft()
[all …]
/netbsd/src/external/bsd/ppp/dist/pppd/
Dpeap.c88 u_char tk[PEAP_TLV_TK_LEN]; member
193 generate_cmk(psm->ipmk, psm->tk, nonce, out_buf, 0); in verify_compound_mac()
304 SSL_export_keying_material(psm->ssl, psm->tk, PEAP_TLV_TK_LEN, in peap_do_inner_eap()
315 generate_cmk(psm->ipmk, psm->tk, psm->nonce, outp, 1); in peap_do_inner_eap()

1234