Searched refs:hkey (Results 1 - 18 of 18) sorted by relevance

/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/windows/
H A Dregistry.d272 private LONG regCloseKey(in HKEY hkey)
275 assert(hkey !is null);
284 if (cast(uint) hkey & 0x80000000)
286 switch (cast(uint) hkey)
304 return RegCloseKey(hkey);
307 private void regFlushKey(in HKEY hkey)
310 assert(hkey !is null);
314 immutable res = RegFlushKey(hkey);
318 private HKEY regCreateKey(in HKEY hkey, in string subKey, in DWORD dwOptions, in REGSAM samDesired,
322 assert(hkey !i
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/windows/
H A Dregistry.d272 private LONG regCloseKey(in HKEY hkey)
275 assert(hkey !is null);
284 if (cast(uint) hkey & 0x80000000)
286 switch (cast(uint) hkey)
304 return RegCloseKey(hkey);
307 private void regFlushKey(in HKEY hkey)
310 assert(hkey !is null);
314 immutable res = RegFlushKey(hkey);
318 private HKEY regCreateKey(in HKEY hkey, in string subKey, in DWORD dwOptions, in REGSAM samDesired,
322 assert(hkey !i
[all...]
/netbsd-current/external/bsd/libbind/dist/dst/
H A Dhmac_link.c214 * hkey the HMAC key to be filled in
225 HMAC_Key *hkey = NULL; local
233 if ((hkey = (HMAC_Key *) malloc(sizeof(HMAC_Key))) == NULL)
236 memset(hkey->hk_ipad, 0, sizeof(hkey->hk_ipad));
237 memset(hkey->hk_opad, 0, sizeof(hkey->hk_opad));
249 memcpy(hkey->hk_ipad, key, local_keylen);
250 memcpy(hkey->hk_opad, key, local_keylen);
254 hkey
283 HMAC_Key *hkey; local
395 HMAC_Key *hkey; local
432 HMAC_Key *hkey = key; local
[all...]
/netbsd-current/lib/libresolv/
H A Dhmac_link.c204 * hkey the HMAC key to be filled in
215 HMAC_Key *hkey = NULL; local
223 if ((hkey = (HMAC_Key *) malloc(sizeof(HMAC_Key))) == NULL)
226 memset(hkey->hk_ipad, 0, sizeof(hkey->hk_ipad));
227 memset(hkey->hk_opad, 0, sizeof(hkey->hk_opad));
239 memcpy(hkey->hk_ipad, key, local_keylen);
240 memcpy(hkey->hk_opad, key, local_keylen);
244 hkey
274 HMAC_Key *hkey; local
386 HMAC_Key *hkey; local
423 HMAC_Key *hkey = key; local
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dhmac_link.c169 const dst_hmac_key_t *hkey = key->keydata.hmac_key; local
172 result = isc_hmac_init(ctx, hkey->key, isc_md_type_get_block_size(type),
310 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
311 isc_safe_memwipe(hkey, sizeof(*hkey));
312 isc_mem_put(key->mctx, hkey, sizeof(*hkey));
319 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
326 isc_buffer_putmem(data, hkey->key, bytes);
333 dst_hmac_key_t *hkey; local
408 dst_hmac_key_t *hkey; local
[all...]
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Dhmac_link.c175 const dst_hmac_key_t *hkey = key->keydata.hmac_key; local
178 result = isc_hmac_init(ctx, hkey->key, isc_md_type_get_block_size(type),
316 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
317 isc_safe_memwipe(hkey, sizeof(*hkey));
318 isc_mem_put(key->mctx, hkey, sizeof(*hkey));
325 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
332 isc_buffer_putmem(data, hkey->key, bytes);
339 dst_hmac_key_t *hkey; local
414 dst_hmac_key_t *hkey; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/hmac/
H A Dhm_pmeth.c88 ASN1_OCTET_STRING *hkey = NULL; local
92 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp);
93 if (!hkey)
95 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/internal/windows/
H A Dadvapi32.d35 LONG function(in HKEY hkey, in LPCWSTR lpSubKey, in REGSAM samDesired, in DWORD reserved) pRegDeleteKeyExW;
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/internal/windows/
H A Dadvapi32.d39 LONG function(in HKEY hkey, in LPCWSTR lpSubKey, in REGSAM samDesired, in DWORD reserved) pRegDeleteKeyExW;
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dntservice.c358 HKEY hkey; local
369 if ( RegOpenKeyEx( HKEY_LOCAL_MACHINE, path, 0, KEY_READ, &hkey ) != ERROR_SUCCESS )
374 if ( RegQueryValueEx( hkey, value, NULL, &vType, vValue, &valLen ) != ERROR_SUCCESS )
376 RegCloseKey( hkey );
379 RegCloseKey( hkey );
/netbsd-current/sbin/cgdconfig/
H A Dhkdf_hmac_sha256.c49 uint8_t hkey[SHA256_DIGEST_LENGTH]; local
56 SHA256_Final(hkey, &H->sha256);
57 key = hkey;
58 keylen = sizeof(hkey);
70 explicit_memset(hkey, 0, sizeof(hkey));
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Denc.c102 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; local
246 hkey = opt_arg();
338 if ((str == NULL) && (cipher != NULL) && (hkey == NULL)) {
519 if (hkey != NULL) {
520 if (!set_hex(hkey, key, EVP_CIPHER_key_length(cipher))) {
525 OPENSSL_cleanse(hkey, strlen(hkey));
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Denc.c124 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; local
263 hkey = opt_arg();
357 if ((str == NULL) && (cipher != NULL) && (hkey == NULL)) {
546 if (hkey != NULL) {
547 if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) {
552 cleanse(hkey);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/engine/
H A Deng_openssl.c494 ASN1_OCTET_STRING *hkey = NULL; local
498 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp);
499 if (!hkey)
501 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/engine/
H A Deng_openssl.c511 ASN1_OCTET_STRING *hkey = NULL; local
515 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp);
516 if (!hkey)
518 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey);
/netbsd-current/external/bsd/wpa/dist/src/rsn_supp/
H A Dwpa.c4563 struct wpabuf *secret, *pub, *hkey; local
4661 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2);
4662 if (!hkey) {
4668 wpabuf_put_buf(hkey, pub); /* C */
4670 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */
4671 wpabuf_put_le16(hkey, sm->owe_group); /* group */
4673 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey),
4676 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey),
[all...]
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Dieee802_11.c2661 struct wpabuf *secret, *pub, *hkey; local
2738 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2);
2739 if (!hkey) {
2745 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */
2746 wpabuf_put_buf(hkey, pub); /* A */
2748 wpabuf_put_le16(hkey, group); /* group */
2750 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey),
2753 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey),
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DMSVC.cpp859 static bool readFullStringValue(HKEY hkey, const char *valueName, argument
869 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, &type, NULL,
874 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, NULL, &buffer[0],

Completed in 502 milliseconds