| /freebsd-14.2/lib/libc/sys/ |
| H A D | __vdso_gettimeofday.c | 69 if (!tk->tk_enabled) in binuptime() 73 th = &tk->tk_th[curr]; in binuptime() 113 if (!tk->tk_enabled) in getnanouptime() 117 th = &tk->tk_th[curr]; in getnanouptime() 130 static struct vdso_timekeep *tk; variable 141 if (tk == NULL) { in __vdso_gettimeofday() 143 if (error != 0 || tk == NULL) in __vdso_gettimeofday() 162 if (tk == NULL) { in __vdso_clock_gettime() 163 error = _elf_aux_info(AT_TIMEKEEP, &tk, sizeof(tk)); in __vdso_clock_gettime() 164 if (error != 0 || tk == NULL) in __vdso_clock_gettime() [all …]
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_vdso_gtod.inc | 183 if (!tk->tk_enabled) 187 th = &tk->tk_th[curr]; 227 if (!tk->tk_enabled) 231 th = &tk->tk_th[curr]; 247 struct vdso_timekeep *tk; 253 __vdso_gettimekeep(&tk); 254 if (tk == NULL) 256 if (tk->tk_ver != VDSO_TK_VER_CURR) 267 struct vdso_timekeep *tk; 271 __vdso_gettimekeep(&tk); [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_sharedpage.c | 147 struct vdso_timekeep *tk; in timehands_update() local 159 tk = (struct vdso_timekeep *)(shared_page_mapping + in timehands_update() 161 tk->tk_th[idx].th_gen = 0; in timehands_update() 164 tk->tk_th[idx] = th; in timehands_update() 166 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update() 172 tk->tk_enabled = enabled; in timehands_update() 180 struct vdso_timekeep32 *tk; in timehands_update32() local 194 tk->tk_th[idx].th_gen = 0; in timehands_update32() 197 tk->tk_th[idx] = th; in timehands_update32() 199 atomic_store_rel_32(&tk->tk_current, idx); in timehands_update32() [all …]
|
| /freebsd-14.2/contrib/wpa/src/crypto/ |
| H A D | sha1.c | 30 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 D | sha256.c | 30 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()
|
| H A D | md5.c | 30 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 D | crypto_internal.c | 44 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 D | sha384.c | 30 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 D | sha512.c | 30 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()
|
| /freebsd-14.2/lib/libc/riscv/sys/ |
| H A D | __vdso_gettc.c | 50 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 52 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/lib/libc/powerpc/sys/ |
| H A D | __vdso_gettc.c | 61 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 64 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/lib/libc/powerpc64/sys/ |
| H A D | __vdso_gettc.c | 58 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 61 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/lib/libc/aarch64/sys/ |
| H A D | __vdso_gettc.c | 69 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 72 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/lib/libc/arm/sys/ |
| H A D | __vdso_gettc.c | 84 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 87 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/contrib/wpa/src/common/ |
| H A D | common_module_tests.c | 637 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-14.2/usr.bin/indent/ |
| H A D | parse.c | 58 parse(int tk) /* tk: the code for the construct scanned */ in parse() argument 63 printf("%2d - %s\n", tk, token); in parse() 66 while (ps.p_stack[ps.tos] == ifhead && tk != elselit) { in parse() 74 switch (tk) { /* go on and figure out what to do with the in parse() 111 ps.p_stack[++ps.tos] = tk; in parse()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | signature.c | 55 unsigned char tk[16]; in signature_compute_hmac_md5() local 65 MD5_Final(tk, &tctx); in signature_compute_hmac_md5() 67 key = tk; in signature_compute_hmac_md5()
|
| /freebsd-14.2/contrib/sqlite3/tea/win/ |
| H A D | rules.vc | 626 !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-14.2/contrib/dma/ |
| H A D | crypto.c | 234 unsigned char tk[16]; in hmac_md5() local 243 MD5_Final(tk, &tctx); in hmac_md5() 245 key = tk; in hmac_md5()
|
| /freebsd-14.2/contrib/wpa/src/eap_server/ |
| H A D | eap_server_peap.c | 329 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 …]
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 36 u8 tk[TK_11AZ_LEN]; member 44 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta() argument 115 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta() 116 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta() 706 if (WARN_ON(key->keylen > sizeof(target->tk))) in iter() 709 memcpy(target->tk, key->key, key->keylen); in iter() 743 memcpy(target->tk, entry->tk, sizeof(target->tk)); in iwl_mvm_ftm_set_secured_ranging()
|
| H A D | ftm-responder.c | 313 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta() argument 335 if ((!hltk || !hltk_len) && (!tk || !tk_len)) { in iwl_mvm_ftm_respoder_add_pasn_sta() 350 if (tk && tk_len) { in iwl_mvm_ftm_respoder_add_pasn_sta() 356 cipher, tk, tk_len); in iwl_mvm_ftm_respoder_add_pasn_sta()
|
| /freebsd-14.2/lib/libc/x86/sys/ |
| H A D | __vdso_gettc.c | 449 __vdso_gettimekeep(struct vdso_timekeep **tk) in __vdso_gettimekeep() argument 452 return (_elf_aux_info(AT_TIMEKEEP, tk, sizeof(*tk))); in __vdso_gettimekeep()
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | location.h | 677 u8 tk[TK_11AZ_LEN]; member 738 u8 tk[TK_11AZ_LEN]; member 791 u8 tk[TK_11AZ_LEN]; member 860 u8 tk[TK_11AZ_LEN]; member 941 u8 tk[TK_11AZ_LEN]; member
|
| /freebsd-14.2/contrib/unbound/validator/ |
| H A D | val_anchor.c | 861 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()
|