Home
last modified time | relevance | path

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

12

/freebsd-13.1/lib/libc/sys/
H A D__vdso_gettimeofday.c72 if (!tk->tk_enabled) in binuptime()
76 th = &tk->tk_th[curr]; in binuptime()
116 if (!tk->tk_enabled) in getnanouptime()
120 th = &tk->tk_th[curr]; in getnanouptime()
133 static struct vdso_timekeep *tk; variable
144 if (tk == NULL) { in __vdso_gettimeofday()
146 if (error != 0 || tk == NULL) in __vdso_gettimeofday()
165 if (tk == NULL) { in __vdso_clock_gettime()
166 error = _elf_aux_info(AT_TIMEKEEP, &tk, sizeof(tk)); in __vdso_clock_gettime()
167 if (error != 0 || tk == NULL) in __vdso_clock_gettime()
[all …]
H A Dtrivial-vdso_tc.c44 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
/freebsd-13.1/sys/kern/
H A Dkern_sharedpage.c149 struct vdso_timekeep *tk; in timehands_update() local
161 tk = (struct vdso_timekeep *)(shared_page_mapping + in timehands_update()
163 tk->tk_th[idx].th_gen = 0; in timehands_update()
166 tk->tk_th[idx] = th; in timehands_update()
168 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update()
174 tk->tk_enabled = enabled; in timehands_update()
182 struct vdso_timekeep32 *tk; in timehands_update32() local
196 tk->tk_th[idx].th_gen = 0; in timehands_update32()
199 tk->tk_th[idx] = th; in timehands_update32()
201 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update32()
[all …]
/freebsd-13.1/contrib/wpa/src/crypto/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dsha256.c30 unsigned char tk[32]; in hmac_sha256_vector() local
44 if (sha256_vector(1, &key, &key_len, tk) < 0) in hmac_sha256_vector()
46 key = tk; in hmac_sha256_vector()
/freebsd-13.1/sbin/iscontrol/
H A Dconfig.c298 textkey_t *tk; in keyLookup() local
300 for(tk = keyMap; tk->name && strcmp(tk->name, "end"); tk++) { in keyLookup()
301 if(strcasecmp(key, tk->name) == 0) in keyLookup()
302 return tk; in keyLookup()
353 textkey_t *tk; in parseArgs() local
365 if((tk = keyLookup(*ar)) == NULL) in parseArgs()
367 setOption(op, tk->tokenID, v); in parseArgs()
/freebsd-13.1/lib/libc/riscv/sys/
H A D__vdso_gettc.c53 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
55 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/lib/libc/powerpc/sys/
H A D__vdso_gettc.c64 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
67 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/lib/libc/powerpc64/sys/
H A D__vdso_gettc.c61 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
64 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/lib/libc/aarch64/sys/
H A D__vdso_gettc.c72 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
75 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/lib/libc/arm/sys/
H A D__vdso_gettc.c87 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
90 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/contrib/wpa/src/common/
H A 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()
/freebsd-13.1/usr.bin/indent/
H A Dparse.c60 parse(int tk) /* tk: the code for the construct scanned */ in parse() argument
65 printf("%2d - %s\n", tk, token); in parse()
68 while (ps.p_stack[ps.tos] == ifhead && tk != elselit) { in parse()
76 switch (tk) { /* go on and figure out what to do with the in parse()
113 ps.p_stack[++ps.tos] = tk; in parse()
/freebsd-13.1/contrib/tcpdump/
H A Dsignature.c56 unsigned char tk[16]; in signature_compute_hmac_md5() local
66 MD5_Final(tk, &tctx); in signature_compute_hmac_md5()
68 key = tk; in signature_compute_hmac_md5()
/freebsd-13.1/contrib/sqlite3/tea/win/
H A Drules.vc626 !if "$(PROJECT)" == "tk"
627 _TK_H = ..\generic\tk.h
633 !if exist("$(_INSTALLDIR)\..\include\tk.h")
636 _TK_H = $(_TKDIR)\include\tk.h
638 !elseif exist("$(_TCLDIR)\include\tk.h")
641 _TK_H = $(_TKDIR)\include\tk.h
646 !if exist("$(_TKDIR)\include\tk.h")
648 _TK_H = $(_TKDIR)\include\tk.h
649 !elseif exist("$(_TKDIR)\generic\tk.h")
651 _TK_H = $(_TKDIR)\generic\tk.h
[all …]
/freebsd-13.1/contrib/dma/
H A Dcrypto.c235 unsigned char tk[16]; in hmac_md5() local
244 MD5_Final(tk, &tctx); in hmac_md5()
246 key = tk; in hmac_md5()
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dftm-initiator.c32 u8 tk[TK_11AZ_LEN]; member
39 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta() argument
91 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta()
92 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()
668 if (WARN_ON(key->keylen > sizeof(target->tk))) in iter()
671 memcpy(target->tk, key->key, key->keylen); in iter()
701 memcpy(target->tk, entry->tk, sizeof(target->tk)); in iwl_mvm_ftm_set_secured_ranging()
/freebsd-13.1/contrib/wpa/src/eap_server/
H A Deap_server_peap.c325 u8 *tk; in eap_peap_derive_cmk() local
346 tk = eap_server_tls_derive_key(sm, &data->ssl, label, in eap_peap_derive_cmk()
349 if (tk == NULL) in eap_peap_derive_cmk()
351 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
355 os_memcpy(data->ipmk, tk, 40); in eap_peap_derive_cmk()
358 os_memcpy(data->cmk, tk + 40, 20); in eap_peap_derive_cmk()
361 os_free(tk); in eap_peap_derive_cmk()
375 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
376 res = peap_prfplus(data->peap_version, tk, 40, in eap_peap_derive_cmk()
381 os_free(tk); in eap_peap_derive_cmk()
[all …]
/freebsd-13.1/lib/libc/x86/sys/
H A D__vdso_gettc.c416 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument
419 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
/freebsd-13.1/contrib/unbound/validator/
H A Dval_anchor.c861 struct ta_key* tk; in assemble_it() local
912 for(tk = ta->keylist; tk; tk = tk->next) { in assemble_it()
913 if(tk->type != type) in assemble_it()
915 pd->rr_len[i] = tk->len; in assemble_it()
917 pd->rr_data[i] = tk->data; in assemble_it()
/freebsd-13.1/sys/contrib/dev/iwlwifi/fw/api/
H A Dlocation.h671 u8 tk[TK_11AZ_LEN]; member
732 u8 tk[TK_11AZ_LEN]; member
785 u8 tk[TK_11AZ_LEN]; member
854 u8 tk[TK_11AZ_LEN]; member
935 u8 tk[TK_11AZ_LEN]; member

12