Home
last modified time | relevance | path

Searched refs:hk (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/wpa/wpa_supplicant/
H A Dconfig_winreg.c50 static int wpa_config_read_blobs(struct wpa_config *config, HKEY hk) in wpa_config_read_blobs() argument
58 ret = RegOpenKeyEx(hk, TEXT("blobs"), 0, KEY_QUERY_VALUE, &bhk); in wpa_config_read_blobs()
119 static int wpa_config_read_reg_dword(HKEY hk, const TCHAR *name, int *_val) in wpa_config_read_reg_dword() argument
125 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) &val, &buflen); in wpa_config_read_reg_dword()
136 static char * wpa_config_read_reg_string(HKEY hk, const TCHAR *name) in wpa_config_read_reg_string() argument
143 ret = RegQueryValueEx(hk, name, NULL, NULL, NULL, &buflen); in wpa_config_read_reg_string()
150 ret = RegQueryValueEx(hk, name, NULL, NULL, (LPBYTE) val, &buflen); in wpa_config_read_reg_string()
163 static int wpa_config_read_global_uuid(struct wpa_config *config, HKEY hk) in wpa_config_read_global_uuid() argument
168 str = wpa_config_read_reg_string(hk, TEXT("uuid")); in wpa_config_read_global_uuid()
182 HKEY hk) in wpa_config_read_global_os_version() argument
[all …]
H A Dmain_winsvc.c64 HKEY hk; in read_interface() local
72 ret = RegOpenKeyEx(_hk, name, 0, KEY_QUERY_VALUE, &hk); in read_interface()
82 ret = RegQueryValueEx(hk, TEXT("ctrl_interface"), NULL, NULL, in read_interface()
93 ret = RegQueryValueEx(hk, TEXT("adapter"), NULL, NULL, in read_interface()
104 ret = RegQueryValueEx(hk, TEXT("config"), NULL, NULL, in read_interface()
115 ret = RegQueryValueEx(hk, TEXT("skip_on_error"), NULL, NULL, in read_interface()
120 RegCloseKey(hk); in read_interface()
139 HKEY hk, ihk; in wpa_supplicant_thread() local
150 0, KEY_QUERY_VALUE, &hk); in wpa_supplicant_thread()
157 ret = RegQueryValueEx(hk, TEXT("debug_level"), NULL, NULL, in wpa_supplicant_thread()
[all …]
/freebsd/sys/dev/ath/
H A Dif_ath_keycache.c86 const HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) in ath_keyprint() argument
98 printf("%s: [%02u] %-7s ", tag, ix, ciphers[hk->kv_type]); in ath_keyprint()
99 for (i = 0, n = hk->kv_len; i < n; i++) in ath_keyprint()
100 printf("%02x", hk->kv_val[i]); in ath_keyprint()
102 if (hk->kv_type == HAL_CIPHER_TKIP) { in ath_keyprint()
104 for (i = 0; i < sizeof(hk->kv_mic); i++) in ath_keyprint()
105 printf("%02x", hk->kv_mic[i]); in ath_keyprint()
108 for (i = 0; i < sizeof(hk->kv_txmic); i++) in ath_keyprint()
109 printf("%02x", hk->kv_txmic[i]); in ath_keyprint()
123 HAL_KEYVAL *hk, const u_int8_t mac[IEEE80211_ADDR_LEN]) in ath_keyset_tkip() argument
[all …]
H A Dif_ath_debug.h101 #define KEYPRINTF(sc, ix, hk, mac) do { \ argument
103 ath_keyprint(sc, __func__, ix, hk, mac); \
/freebsd/sys/contrib/dev/athk/
H A Dkey.c340 struct ath_keyval *hk, const u8 *addr, in ath_setkey_tkip() argument
356 memcpy(hk->kv_mic, key_txmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
357 memcpy(hk->kv_txmic, key_txmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
359 memcpy(hk->kv_mic, key_rxmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
360 memcpy(hk->kv_txmic, key_rxmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
362 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
366 memcpy(hk->kv_mic, key_rxmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
367 memcpy(hk->kv_txmic, key_txmic, sizeof(hk->kv_txmic)); in ath_setkey_tkip()
368 return ath_hw_set_keycache_entry(common, keyix, hk, addr); in ath_setkey_tkip()
374 memcpy(hk->kv_mic, key_txmic, sizeof(hk->kv_mic)); in ath_setkey_tkip()
[all …]
/freebsd/sys/net/
H A Dpfil.c591 u_int nheads, nhooks, hd, hk; in pfilioc_listheads() local
612 hd = hk = 0; in pfilioc_listheads()
616 hk + head->head_nhooksin + head->head_nhooksout > nhooks) { in pfilioc_listheads()
628 strlcpy(iohook[hk].pio_module, in pfilioc_listheads()
631 strlcpy(iohook[hk].pio_ruleset, in pfilioc_listheads()
634 hk++; in pfilioc_listheads()
637 strlcpy(iohook[hk].pio_module, in pfilioc_listheads()
640 strlcpy(iohook[hk].pio_ruleset, in pfilioc_listheads()
643 hk++; in pfilioc_listheads()
653 sizeof(*iohook) * min(req->pio_nhooks, hk)); in pfilioc_listheads()
[all …]
/freebsd/crypto/krb5/src/windows/leash/
H A DLeash.cpp776 HKEY hk=0; in ValidateConfigFiles() local
781 KEY_READ, &hk) ) in ValidateConfigFiles()
784 RegQueryValueEx(hk, "USERDNSDOMAIN", 0, 0, (LPBYTE)domain, &dwSize); in ValidateConfigFiles()
785 RegCloseKey(hk); in ValidateConfigFiles()
789 0, KEY_READ, &hk)) in ValidateConfigFiles()
793 RegQueryValueEx( hk, "DefaultDomainName", in ValidateConfigFiles()
795 RegCloseKey(hk); in ValidateConfigFiles()
813 &hk) in ValidateConfigFiles()
816 RegCloseKey(hk); in ValidateConfigFiles()
823 &hk); in ValidateConfigFiles()
[all …]
/freebsd/contrib/unbound/winrc/
H A Dwin_svc.c161 HKEY hk = NULL; in lookup_reg_str() local
167 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &hk); in lookup_reg_str()
174 ret = RegQueryValueEx(hk, (LPCTSTR)name, 0, &type, buf, &len); in lookup_reg_str()
175 if(RegCloseKey(hk)) in lookup_reg_str()
201 HKEY hk = NULL; in lookup_reg_int() local
207 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &hk); in lookup_reg_int()
214 ret = RegQueryValueEx(hk, (LPCTSTR)name, 0, &type, buf, &len); in lookup_reg_int()
215 if(RegCloseKey(hk)) in lookup_reg_int()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c239 #define KEYPRINTF(sc, hk, mac) do { \ argument
241 mwl_keyprint(sc, __func__, hk, mac); \
1483 const MWL_HAL_KEYVAL *hk, const uint8_t mac[IEEE80211_ADDR_LEN]) in mwl_keyprint() argument
1492 printf("%s: [%u] %-7s", tag, hk->keyIndex, ciphers[hk->keyTypeId]); in mwl_keyprint()
1493 for (i = 0, n = hk->keyLen; i < n; i++) in mwl_keyprint()
1494 printf(" %02x", hk->key.aes[i]); in mwl_keyprint()
1496 if (hk->keyTypeId == KEY_TYPE_ID_TKIP) { in mwl_keyprint()
1498 for (i = 0; i < sizeof(hk->key.tkip.rxMic); i++) in mwl_keyprint()
1499 printf(" %02x", hk->key.tkip.rxMic[i]); in mwl_keyprint()
1501 for (i = 0; i < sizeof(hk->key.tkip.txMic); i++) in mwl_keyprint()
[all …]
/freebsd/crypto/openssh/regress/
H A Ddropbear-server.sh208 for hk in $hkalgs; do
210 verbose "$tid: cipher $c mac $m kex $k hkalg $hk pk $pk"
218 -oHostKeyAlgorithms=$hk -oPubkeyAcceptedAlgorithms=$pk \
/freebsd/crypto/openssl/test/certs/
H A Dclient-ed448-key.pem2 MEcCAQAwBQYDK2VxBDsEOWmRn7GCRupyB1q/qQZ+h1lEt+TGtZSNJ5U+Saa+X+hk
/freebsd/contrib/tcsh/nls/finnish/
H A Dset115 3 Sinulla on %d sähköpostiviestiä.\n
/freebsd/crypto/openssl/test/recipes/80-test_cmp_http_data/Mock/
H A Dissuing_expired.crt9 hk/l72AdvTjA9XPb4VjL7aY2SX64BltwrnDl9Y7dYkgSfnuF7gyRa7d7DWcl5K/e
/freebsd/contrib/wpa/src/eap_peer/
H A Dtncc.c882 HKEY hk, hk2; in tncc_read_config_reg() local
893 &hk); in tncc_read_config_reg()
902 ret = RegEnumKeyEx(hk, i, name, &namelen, NULL, NULL, NULL, in tncc_read_config_reg()
920 ret = RegOpenKeyEx(hk, name, 0, KEY_QUERY_VALUE, &hk2); in tncc_read_config_reg()
988 RegCloseKey(hk); in tncc_read_config_reg()
/freebsd/share/doc/smm/02.config/
H A Dspell.ok164 hk
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_ndis.c2420 HKEY hk, hk2; in wpa_driver_ndis_set_wzc() local
2450 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, DEVLOAD_ACTIVE_KEY, 0, 0, &hk); in wpa_driver_ndis_set_wzc()
2459 ret = RegEnumKeyEx(hk, i, keyname, &len, NULL, NULL, NULL, in wpa_driver_ndis_set_wzc()
2464 RegCloseKey(hk); in wpa_driver_ndis_set_wzc()
2468 ret = RegOpenKeyEx(hk, keyname, 0, 0, &hk2); in wpa_driver_ndis_set_wzc()
2493 RegCloseKey(hk); in wpa_driver_ndis_set_wzc()
/freebsd/contrib/unbound/util/
H A Dconfig_file.c2830 HKEY hk = NULL; in w_lookup_reg_str() local
2836 ret = RegOpenKeyEx(HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &hk); in w_lookup_reg_str()
2843 ret = RegQueryValueEx(hk, (LPCTSTR)name, 0, &type, buf, &len); in w_lookup_reg_str()
2844 if(RegCloseKey(hk)) in w_lookup_reg_str()
/freebsd/contrib/tzdata/
H A Dasia683 # <https://www.hko.gov.hk/publica/gen_pub/timeball_atomic_clock.pdf>
707 # See <https://mmis.hkpl.gov.hk> for this; unfortunately Flash is required.
752 # http://sunzi.lib.hku.hk/hkgro/view/g1941/304271.pdf
753 # http://sunzi.lib.hku.hk/hkgro/view/g1941/305516.pdf
762 # https://mmis.hkpl.gov.hk///c/portal/cover?c=QF757YsWv5%2FH7zGe%2FKF%2BFLYsuqGhRBfe p.4
765 # https://mmis.hkpl.gov.hk///c/portal/cover?c=QF757YsWv5%2BQBGt1%2BwUj5qG2GqtwR3Wh p.4
768 # http://oelawhk.lib.hku.hk/archive/files/bb74b06a74d5294620a15de560ab33c6.pdf
780 # https://www.legco.gov.hk/yr78-79/english/lc_sitg/hansard/h790509.pdf#page=39
784 # https://www.hko.gov.hk/en/gts/time/Summertime.htm
/freebsd/contrib/file/magic/Magdir/
H A Darchive1486 # ARJPROT_FLAG; build with data protection record; hk switch
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES7515 pointed out by Teddy Hogeborn <teddy@fukt.hk-r.se>.