HomeSort by: relevance | last modified time | path
    Searched defs:hkey (Results 1 - 16 of 16) sorted by relevancy

  /src/sbin/cgdconfig/
hkdf_hmac_sha256.c 49 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));
  /src/crypto/external/apache2/openssl/dist/crypto/
defaults.c 70 HKEY hkey; local
77 KEY_QUERY_VALUE, &hkey);
82 ret = RegQueryValueExW(hkey, valuename, NULL, &ktype, NULL,
100 if (RegQueryValueExW(hkey, valuename,
112 RegCloseKey(hkey);
  /src/crypto/external/bsd/openssl.old/dist/crypto/hmac/
hm_pmeth.c 88 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);
  /src/lib/libresolv/
hmac_link.c 204 * 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->hk_ipad[i] ^= HMAC_IPAD
274 HMAC_Key *hkey; local
386 HMAC_Key *hkey; local
423 HMAC_Key *hkey = key; local
    [all...]
  /src/external/bsd/libbind/dist/dst/
hmac_link.c 214 * 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->hk_ipad[i] ^= HMAC_IPAD
283 HMAC_Key *hkey; local
395 HMAC_Key *hkey; local
432 HMAC_Key *hkey = key; local
    [all...]
  /src/external/bsd/openldap/dist/libraries/liblutil/
ntservice.c 63 HKEY hKey;
95 "REG_SZ", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hKey,
99 RegCloseKey(hKey);
103 if ( RegSetValueEx(hKey, "EventMessageFile", 0, REG_EXPAND_SZ, lpszBinaryPathName, strlen(lpszBinaryPathName) + 1) != ERROR_SUCCESS)
106 RegCloseKey(hKey);
111 if ( RegSetValueEx(hKey, "TypesSupported", 0, REG_DWORD, (LPBYTE) &dwValue, sizeof(DWORD)) != ERROR_SUCCESS)
114 RegCloseKey(hKey);
117 RegCloseKey(hKey);
171 HKEY key
358 HKEY hkey; local
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/
hmac_link.c 169 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...]
  /src/external/mpl/bind/dist/lib/dns/
hmac_link.c 178 const dst_hmac_key_t *hkey = key->keydata.hmac_key; local
181 result = isc_hmac_init(ctx, hkey->key, isc_md_type_get_block_size(type),
319 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
320 isc_safe_memwipe(hkey, sizeof(*hkey));
321 isc_mem_put(key->mctx, hkey, sizeof(*hkey));
328 dst_hmac_key_t *hkey = key->keydata.hmac_key; local
335 isc_buffer_putmem(data, hkey->key, bytes);
342 dst_hmac_key_t *hkey; local
417 dst_hmac_key_t *hkey; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/engine/
eng_openssl.c 515 ASN1_OCTET_STRING *hkey = NULL; local
519 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp);
520 if (!hkey)
522 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey);
  /src/crypto/external/bsd/openssl/dist/crypto/engine/
eng_openssl.c 511 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);
  /src/crypto/external/bsd/openssl.old/dist/crypto/engine/
eng_openssl.c 494 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);
  /src/crypto/external/bsd/openssl/dist/apps/
enc.c 124 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);
  /src/crypto/external/bsd/openssl.old/dist/apps/
enc.c 102 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));
  /src/crypto/external/apache2/openssl/dist/apps/
enc.c 154 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; local
316 hkey = opt_arg();
438 if ((str == NULL) && (cipher != NULL) && (hkey == NULL) && (skeyopts == NULL)) {
663 if (hkey != NULL) {
664 if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) {
669 cleanse(hkey);
  /src/external/bsd/wpa/dist/src/rsn_supp/
wpa.c 6493 struct wpabuf *secret, *pub, *hkey; local
6591 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2);
6592 if (!hkey) {
6598 wpabuf_put_buf(hkey, pub); /* C */
6600 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */
6601 wpabuf_put_le16(hkey, sm->owe_group); /* group */
6603 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey),
6606 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey),
    [all...]
  /src/external/bsd/wpa/dist/src/ap/
ieee802_11.c 3613 struct wpabuf *secret, *pub, *hkey; local
3703 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2);
3704 if (!hkey) {
3710 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */
3711 wpabuf_put_buf(hkey, pub); /* A */
3713 wpabuf_put_le16(hkey, group); /* group */
3715 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey),
3718 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey),
    [all...]

Completed in 33 milliseconds