Home
last modified time | relevance | path

Searched refs:nhash (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/crypto/
H A Dahash.c546 struct crypto_ahash *nhash; in crypto_clone_ahash() local
560 if (IS_ERR(nhash)) in crypto_clone_ahash()
561 return nhash; in crypto_clone_ahash()
563 nhash->init = hash->init; in crypto_clone_ahash()
564 nhash->update = hash->update; in crypto_clone_ahash()
565 nhash->final = hash->final; in crypto_clone_ahash()
566 nhash->finup = hash->finup; in crypto_clone_ahash()
567 nhash->digest = hash->digest; in crypto_clone_ahash()
568 nhash->export = hash->export; in crypto_clone_ahash()
586 return nhash; in crypto_clone_ahash()
[all …]
H A Dshash.c451 struct crypto_shash **nctx = crypto_ahash_ctx(nhash); in crypto_clone_shash_ops_async()
457 crypto_free_ahash(nhash); in crypto_clone_shash_ops_async()
463 return nhash; in crypto_clone_shash_ops_async()
589 struct crypto_shash *nhash; in crypto_clone_shash() local
603 nhash = crypto_clone_tfm(&crypto_shash_type, tfm); in crypto_clone_shash()
604 if (IS_ERR(nhash)) in crypto_clone_shash()
605 return nhash; in crypto_clone_shash()
607 nhash->descsize = hash->descsize; in crypto_clone_shash()
610 err = alg->clone_tfm(nhash, hash); in crypto_clone_shash()
612 crypto_free_shash(nhash); in crypto_clone_shash()
[all …]
H A Dhash.h35 struct crypto_ahash *crypto_clone_shash_ops_async(struct crypto_ahash *nhash,
/openbmc/qemu/crypto/
H A Divgen-essiv.c35 size_t nhash; in qcrypto_ivgen_essiv_init() local
42 nhash = qcrypto_hash_digest_len(ivgen->hash); in qcrypto_ivgen_essiv_init()
44 salt = g_new0(uint8_t, MAX(nhash, nsalt)); in qcrypto_ivgen_essiv_init()
47 &salt, &nhash, in qcrypto_ivgen_essiv_init()
57 salt, MIN(nhash, nsalt), in qcrypto_ivgen_essiv_init()
/openbmc/linux/fs/jffs2/
H A Ddir.c85 unsigned int nhash; in jffs2_lookup() local
95 nhash = full_name_hash(NULL, target->d_name.name, target->d_name.len); in jffs2_lookup()
100 for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= nhash; fd_list = fd_list->next) { in jffs2_lookup()
101 if (fd_list->nhash == nhash && in jffs2_lookup()
H A Dwrite.c248 fd->nhash = full_name_hash(NULL, name, namelen); in jffs2_write_dirent()
601 uint32_t nhash = full_name_hash(NULL, name, namelen); in jffs2_do_unlink() local
610 if (fd->nhash == nhash && in jffs2_do_unlink()
H A Dnodelist.c32 while ((*prev) && (*prev)->nhash <= new->nhash) { in jffs2_add_fd_to_list()
33 if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) { in jffs2_add_fd_to_list()
H A Dnodelist.h260 unsigned int nhash; member
H A Dsummary.c479 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_sum_process_sum_data()
H A Dscan.c1109 fd->nhash = full_name_hash(NULL, fd->name, checkedlen); in jffs2_scan_dirent_node()
H A Dreadinode.c693 fd->nhash = full_name_hash(NULL, fd->name, rd->nsize); in read_direntry()
/openbmc/u-boot/fs/jffs2/
H A Djffs2_nand_private.h25 unsigned int nhash; member
H A Djffs2_nand_1pass.c166 new->nhash = full_name_hash(node->name, node->nsize); in insert_dirent()
368 unsigned int nhash = full_name_hash(name, len); in jffs2_1pass_find_inode() local
375 (len == jDir->nsize) && (nhash == jDir->nhash)) { in jffs2_1pass_find_inode()
/openbmc/linux/net/sched/
H A Dsch_api.c689 struct hlist_head *nhash, *ohash; in qdisc_class_hash_grow() local
698 nhash = qdisc_class_hash_alloc(nsize); in qdisc_class_hash_grow()
699 if (nhash == NULL) in qdisc_class_hash_grow()
709 hlist_add_head(&cl->hnode, &nhash[h]); in qdisc_class_hash_grow()
712 clhash->hash = nhash; in qdisc_class_hash_grow()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h115 unsigned int nhash; member
H A Dcxgb4_ethtool.c2262 nentries += tids->nhash + in cxgb4_init_ethtool_filters()
H A Dcxgb4_filter.c1163 (adap->tids.nhash + (adap->tids.stid_base - adap->tids.tid_base))) in is_filter_exact_match()
H A Dcxgb4_main.c6952 adapter->tids.nhash = 1 << HASHTIDSIZE_G(v); in init_one()
6956 adapter->tids.nhash = HASHTBLSIZE_G(v) << 3; in init_one()