Home
last modified time | relevance | path

Searched refs:hKey (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dpex-win32.c166 HKEY hKey, hTmp; in openkey() local
167 for (hKey = hStart; *keys; keys++) in openkey()
170 hTmp = hKey; in openkey()
179 return hKey; in openkey()
186 HKEY hKey, hTmp; in mingw_rootify() local
196 if (!hKey) in mingw_rootify()
204 RegCloseKey (hKey); in mingw_rootify()
212 RegCloseKey (hKey); in mingw_rootify()
239 RegCloseKey (hKey); in mingw_rootify()
244 res = RegOpenKey (hKey, foundbuf, &hTmp); in mingw_rootify()
[all …]
/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dntpaths.c54 HKEY hKey; in isc_ntpaths_init() local
58 if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, BIND_SUBKEY, 0, KEY_READ, &hKey) in isc_ntpaths_init()
64 if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL, in isc_ntpaths_init()
67 RegCloseKey(hKey); in isc_ntpaths_init()
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_cryptor.c177 BCRYPT_KEY_HANDLE hKey; in aes_ctr_init() local
185 ctx->hKey = NULL; in aes_ctr_init()
226 status = BCryptGenerateSymmetricKey(hAlg, &hKey, in aes_ctr_init()
236 ctx->hKey = hKey; in aes_ctr_init()
250 status = BCryptEncrypt(ctx->hKey, (PUCHAR)ctx->nonce, AES_BLOCK_SIZE, in aes_ctr_encrypt_counter()
263 BCryptDestroyKey(ctx->hKey); in aes_ctr_release()
264 ctx->hKey = NULL; in aes_ctr_release()
H A Darchive_cryptor_private.h78 BCRYPT_KEY_HANDLE hKey; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/ToolChains/
H A DMSVC.cpp906 HKEY hKey = NULL; in getSystemRegistryString()
957 KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString()
959 if (readFullStringValue(hKey, valueName, value)) { in getSystemRegistryString()
965 RegCloseKey(hKey); in getSystemRegistryString()
974 RegOpenKeyExA(hRootKey, keyPath, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString()
976 if (readFullStringValue(hKey, valueName, value)) in getSystemRegistryString()
980 RegCloseKey(hKey); in getSystemRegistryString()
/freebsd-12.1/crypto/heimdal/lib/hx509/
H A Dsoftp11.c1403 const CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey, in commonInit() argument
1410 if ((ret = object_handle_to_object(hKey, o)) != CKR_OK) in commonInit()
1462 CK_OBJECT_HANDLE hKey) in C_SignInit() argument
1479 pMechanism, hKey, &o); in C_SignInit()
1595 CK_OBJECT_HANDLE hKey) in C_VerifyInit() argument
1612 pMechanism, hKey, &o); in C_VerifyInit()