/freebsd/sys/geom/eli/ |
H A D | g_eli_hmac.c | 46 g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const char *hkey, in g_eli_crypto_hmac_init() argument 57 bcopy(hkey, key, hkeylen); in g_eli_crypto_hmac_init() 61 SHA512_Update(&lctx, hkey, hkeylen); in g_eli_crypto_hmac_init() 110 g_eli_crypto_hmac(const char *hkey, size_t hkeysize, const uint8_t *data, in g_eli_crypto_hmac() argument 115 g_eli_crypto_hmac_init(&ctx, hkey, hkeysize); in g_eli_crypto_hmac()
|
H A D | g_eli.h | 734 void g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const char *hkey, 739 void g_eli_crypto_hmac(const char *hkey, size_t hkeysize,
|
/freebsd/crypto/openssl/apps/ |
H A D | enc.c | 124 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; in enc_main() local 263 hkey = opt_arg(); in enc_main() 357 if ((str == NULL) && (cipher != NULL) && (hkey == NULL)) { in enc_main() 546 if (hkey != NULL) { in enc_main() 547 if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) { in enc_main() 552 cleanse(hkey); in enc_main()
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_openssl.c | 511 ASN1_OCTET_STRING *hkey = NULL; in ossl_hmac_keygen() local 515 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen() 516 if (!hkey) in ossl_hmac_keygen() 518 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey); in ossl_hmac_keygen()
|
/freebsd/sys/dev/acpi_support/ |
H A D | acpi_ibm.c | 469 int hkey; in acpi_ibm_attach() local 525 if (ACPI_SUCCESS (acpi_GetInteger(sc->handle, "MHKV", &hkey))) { in acpi_ibm_attach() 526 device_printf(dev, "Firmware version is 0x%X\n", hkey); in acpi_ibm_attach() 527 switch (hkey >> 8) { in acpi_ibm_attach() 550 device_printf(dev, "Unknown firmware version 0x%x\n", hkey); in acpi_ibm_attach()
|
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/ |
H A D | MSVCPaths.cpp | 134 static bool readFullStringValue(HKEY hkey, const char *valueName, in readFullStringValue() argument 144 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, &type, NULL, in readFullStringValue() 149 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, NULL, &buffer[0], in readFullStringValue()
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa.c | 6493 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local 6591 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp() 6592 if (!hkey) { in owe_process_assoc_resp() 6598 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp() 6600 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp() 6601 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp() 6603 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 6606 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 6609 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 6611 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11.c | 3613 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local 3703 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req() 3704 if (!hkey) { in owe_process_assoc_req() 3710 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req() 3711 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req() 3713 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req() 3715 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 3718 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 3721 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 3723 wpabuf_clear_free(hkey); in owe_process_assoc_req()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 3008 __be32 *hkey; in mlx5e_build_tir_ctx() local 3042 hkey = (__be32 *) MLX5_ADDR_OF(tirc, tirc, rx_hash_toeplitz_key); in mlx5e_build_tir_ctx() 3055 mlx5e_get_rss_key(hkey); in mlx5e_build_tir_ctx()
|