Home
last modified time | relevance | path

Searched refs:hkey (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c229 HMAC_Key *hkey = NULL; in dst_buffer_to_hmac_md5() local
237 if ((hkey = (HMAC_Key *) malloc(sizeof(HMAC_Key))) == NULL) in dst_buffer_to_hmac_md5()
240 memset(hkey->hk_ipad, 0, sizeof(hkey->hk_ipad)); in dst_buffer_to_hmac_md5()
241 memset(hkey->hk_opad, 0, sizeof(hkey->hk_opad)); in dst_buffer_to_hmac_md5()
253 memcpy(hkey->hk_ipad, key, local_keylen); in dst_buffer_to_hmac_md5()
254 memcpy(hkey->hk_opad, key, local_keylen); in dst_buffer_to_hmac_md5()
258 hkey->hk_ipad[i] ^= HMAC_IPAD; in dst_buffer_to_hmac_md5()
259 hkey->hk_opad[i] ^= HMAC_OPAD; in dst_buffer_to_hmac_md5()
262 dkey->dk_KEY_struct = (void *) hkey; in dst_buffer_to_hmac_md5()
287 HMAC_Key *hkey; in dst_hmac_md5_key_to_file_format() local
[all …]
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_sign_pkcs.c112 CK_OBJECT_HANDLE hkey = 0; in smb2_hmac_init() local
120 key, key_len, &hkey); in smb2_hmac_init()
124 rv = C_SignInit(*ctxp, mech, hkey); in smb2_hmac_init()
125 (void) C_DestroyObject(*ctxp, hkey); in smb2_hmac_init()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c470 char hkey[OCE_HKEY_SIZE]; in oce_setup_adapter() local
486 (void) oce_gen_hkey(hkey, OCE_HKEY_SIZE); in oce_setup_adapter()
487 ret = oce_config_rss(dev, dev->if_id, hkey, itbl, OCE_ITBL_SIZE, in oce_setup_adapter()
514 char hkey[OCE_HKEY_SIZE] = {0}; in oce_unsetup_adapter() local
517 ret = oce_config_rss(dev, dev->if_id, hkey, itbl, OCE_ITBL_SIZE, in oce_unsetup_adapter()
H A Doce_utils.c215 oce_gen_hkey(char *hkey, int key_size) in oce_gen_hkey() argument
221 (uint8_t *)&hkey[i * sizeof (uint32_t)], in oce_gen_hkey()
H A Doce_mbx.c1182 oce_config_rss(struct oce_dev *dev, uint16_t if_id, char *hkey, char *itbl, in oce_config_rss() argument
1203 if (hkey != NULL) { in oce_config_rss()
1204 bcopy(hkey, fwcmd->params.req.hash, OCE_HKEY_SIZE); in oce_config_rss()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_utils.h144 void oce_gen_hkey(char *hkey, int key_size);
H A Doce_io.h390 int oce_config_rss(struct oce_dev *dev, uint16_t if_id, char *hkey, char *itbl,
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c375 int hkey; in vn_get() local
387 hkey = VN_HTABLE_KEY(ptr, hp); in vn_get()
388 hent = hp->vn_htable[hkey]; in vn_get()
417 hent->vn_h_next = hp->vn_htable[hkey]; in vn_get()
418 hp->vn_htable[hkey] = hent; in vn_get()
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dwinreg_svc.c314 winreg_s_OpenHK(void *arg, ndr_xa_t *mxa, const char *hkey) in winreg_s_OpenHK() argument
321 if ((id = winreg_alloc_id(mxa, hkey)) == NULL) { in winreg_s_OpenHK()
/titanic_50/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c9494 uint64_t hkey; in daplka_hash_insert() local
9508 hkey = ++htblp->ht_next_hkey; in daplka_hash_insert()
9509 if (hkey == 0) { in daplka_hash_insert()
9510 hkey = htblp->ht_next_hkey = (uint64_t)gethrtime(); in daplka_hash_insert()
9515 hkey = *hkeyp; in daplka_hash_insert()
9519 bucket = (uint32_t)(hkey & (htblp->ht_nbuckets - 1)); in daplka_hash_insert()
9524 hep->he_hkey = hkey; in daplka_hash_insert()
9551 *hkeyp = hkey; in daplka_hash_insert()
9578 daplka_hash_remove(daplka_hash_table_t *htblp, uint64_t hkey, void **objpp) in daplka_hash_remove() argument
9584 bucket = (uint32_t)(hkey & (htblp->ht_nbuckets - 1)); in daplka_hash_remove()
[all …]