Searched refs:hash (Results 451 - 475 of 1191) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/riscv/crypto/
H A Dsha512-riscv64-glue.c14 #include <crypto/internal/hash.h>
/linux-master/fs/ubifs/
H A Djournal.c226 int len, struct shash_desc *hash)
243 err = ubifs_shash_update(c, hash, (void *)node, nodelen);
251 return ubifs_prepare_auth_node(c, node, hash);
719 dent_key_init_hash(c, &dent_key, dir->i_ino, nm->hash);
859 u8 hash[UBIFS_HASH_ARR_SZ]; local
926 err = ubifs_node_calc_hash(c, data, hash);
935 err = ubifs_tnc_add(c, key, lnum, offs, dlen, hash);
976 u8 hash[UBIFS_HASH_ARR_SZ]; local
1057 err = ubifs_node_calc_hash(c, ino, hash);
1081 err = ubifs_tnc_add(c, &key, lnum, offs, ilen, hash);
225 ubifs_hash_nodes(struct ubifs_info *c, void *node, int len, struct shash_desc *hash) argument
1855 u8 hash[UBIFS_HASH_ARR_SZ]; local
1976 u8 hash[UBIFS_HASH_ARR_SZ]; local
[all...]
H A Dubifs.h33 #include <crypto/hash.h>
718 * @log_hash: the log hash from the commit start node up to this bud
734 * @log_hash: the log hash from the commit start node up to this journal head
752 * @hash: the hash of the target node
763 u8 hash[UBIFS_HASH_ARR_SZ]; member in struct:ubifs_zbranch
1060 * @double_hash: flag indicating that we can do lookups by hash
1112 * @key_hash_type: type of the key hash
1113 * @key_hash: direntry key hash function
1251 * @hash_tfm: the hash transformatio
1588 ubifs_node_calc_hash(const struct ubifs_info *c, const void *buf, u8 *hash) argument
1634 ubifs_bad_hash(const struct ubifs_info *c, const void *node, const u8 *hash, int lnum, int offs) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_memac.c283 /* Pointer to driver's global address hash table */
285 /* Pointer to driver's individual address hash table */
517 /* release the driver's group hash table */
521 /* release the driver's individual hash table */
798 u32 hash; local
804 /* Unicast addresses not supported in hash */
808 hash = get_mac_addr_hash_code(addr) & HASH_CTRL_ADDR_MASK;
810 /* Create element to be added to the driver hash table */
818 &memac->multicast_addr_hash->lsts[hash]);
819 iowrite32be(hash | HASH_CTRL_MCAST_E
855 u32 hash; local
[all...]
/linux-master/fs/btrfs/
H A Dprops.c35 static const struct hlist_head *find_prop_handlers_by_hash(const u64 hash) argument
39 h = &prop_handlers_ht[hash_min(hash, BTRFS_PROP_HANDLERS_HT_BITS)];
53 u64 hash = btrfs_name_hash(name, strlen(name)); local
55 handlers = find_prop_handlers_by_hash(hash);
/linux-master/security/integrity/ima/
H A Dima.h20 #include <linux/hash.h>
52 /* IMA hash algorithm description */
115 struct hlist_node hnext; /* place in hash collision list */
255 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash);
257 struct ima_digest_data *hash);
260 int ima_calc_boot_aggregate(struct ima_digest_data *hash);
298 /* there is no point in taking a hash of part of a digest */
/linux-master/fs/nilfs2/
H A Dgcinode.c26 #include <linux/hash.h>
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm2.c247 u32 hash; local
253 if (options->hash == tpm2_hash_map[i].crypto_id) {
254 hash = tpm2_hash_map[i].tpm_id;
303 tpm_buf_append_u16(&sized, hash);
/linux-master/drivers/crypto/
H A Dtalitos.c40 #include <crypto/hash.h>
41 #include <crypto/internal/hash.h>
1805 /* hash context in */
1846 /* hash/HMAC out -or- hash context out */
2011 /* At least (blocksize + 1) bytes are available to hash */
2080 /* request SEC to INIT hash. */
2188 u8 *hash)
2203 /* Keep tfm keylen == 0 during hash of the long key */
2210 ahash_request_set_crypt(req, sg, hash, keyle
2187 keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, u8 *hash) argument
2227 u8 hash[SHA512_DIGEST_SIZE]; local
2258 struct ahash_alg hash; member in union:talitos_alg_template::__anon202
[all...]
/linux-master/fs/reiserfs/
H A Dbitmap.c277 unsigned long hash; local
284 hash = keyed_hash(hash_in, 4);
285 bm = hash % reiserfs_bmap_count(s);
297 * corresponding hash is full
801 unsigned long hash; local
813 hash = bm * (sb->s_blocksize << 3);
816 hash += sb->s_blocksize / 2;
817 hint->search_start = hash;
828 unsigned long hash; local
840 hash
[all...]
/linux-master/include/net/
H A Dipv6.h22 #include <net/netns/hash.h>
798 unsigned int hash, mix = net_hash_mix(net); local
801 hash = jhash_1word(0, mix);
803 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix);
805 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix);
807 return hash ^ port;
960 u32 hash; local
973 hash = skb_get_hash_flowi6(skb, fl6);
975 /* Since this is being sent on the wire obfuscate hash a bit
979 hash
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c102 u16 *idx, u64 *hash, bool sleep_ok)
107 naddr, addr, idx, hash, sleep_ok);
100 cxgb4_alloc_mac_filt(struct adapter *adap, unsigned int viid, bool free, unsigned int naddr, const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok) argument
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-i2c.c601 * based on linux/sunrpc/svcauth.h and linux/hash.h
602 * The original hash function returns a different value, if arch is x86_64
607 unsigned long hash = 0; local
622 hash = ((hash ^ l) * 0x9e370001UL);
625 return (hash >> (32 - bits)) & 0xffffffffUL;
675 * FIXME common length/size for bytes to read, to display, hash
727 dev->hash = em28xx_hash_mem(data, len, 32);
731 "EEPROM ID = %4ph, EEPROM hash = 0x%08lx\n",
732 data, dev->hash);
[all...]
/linux-master/tools/lib/bpf/
H A Dhashmap.c4 * Generic non-thread safe hash map implementation.
131 const long key, size_t hash,
140 for (prev_ptr = &map->buckets[hash], cur = *prev_ptr;
130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument
/linux-master/tools/perf/util/
H A Dhashmap.c4 * Generic non-thread safe hash map implementation.
131 const long key, size_t hash,
140 for (prev_ptr = &map->buckets[hash], cur = *prev_ptr;
130 hashmap_find_entry(const struct hashmap *map, const long key, size_t hash, struct hashmap_entry ***pprev, struct hashmap_entry **entry) argument
/linux-master/lib/
H A Dsiphash_kunit.c113 #define chk(hash, vector, fmt...) \
114 KUNIT_EXPECT_EQ_MSG(test, hash, vector, fmt)
/linux-master/drivers/crypto/bcm/
H A Dcipher.h14 #include <crypto/internal/hash.h>
53 * Maximum number of bytes from a non-final hash request that can be deferred
109 struct ahash_alg hash; member in union:iproc_alg_s::__anon314
241 /* state from iproc_reqctx_s necessary for hash state export/import */
328 unsigned int is_final; /* is this the final for the hash op? */
331 * Digest from incremental hash is saved here to include in next hash
334 * msg_buf because that gets deleted between incremental hash ops
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.h48 u64 hash[NPC_MAX_INTF][NPC_MAX_HASH]; member in struct:npc_mcam_kex_hash
89 .hash = {
181 u64 mask; // Masks before hash calculation.
182 u16 hash_mask; // 11 bits for hash mask
/linux-master/fs/orangefs/
H A Dinode.c1008 * a ino_t type that will be used as a hash-index from where the handle will
1009 * be searched for in the VFS hash table of inodes.
1059 unsigned long hash; local
1062 hash = orangefs_handle_hash(ref);
1064 hash,
1081 inode->i_ino = hash; /* needed for stat etc */
1086 "iget handle %pU, fsid %d hash %ld i_ino %lu\n",
1089 hash,
1096 * Allocate an inode for a newly created file and insert it into the inode hash.
1102 unsigned long hash local
[all...]
/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce.h16 #include <crypto/internal/hash.h>
133 * @hash_t_dlen_in_bytes: Does the request size for hash is in
329 struct ahash_engine_alg hash; member in union:sun8i_ce_alg_template::__anon204
/linux-master/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h16 #include <crypto/internal/hash.h>
128 * @pad: padding buffer for hash operations
129 * @result: buffer for storing the result of hash operations
276 struct ahash_engine_alg hash; member in union:sun8i_ss_alg_template::__anon205
/linux-master/drivers/crypto/rockchip/
H A Drk3288_crypto.h8 #include <crypto/internal/hash.h>
229 /* the private variable of hash */
235 /* the private variable of hash for fallback */
263 struct ahash_engine_alg hash; member in union:rk_crypto_tmp::__anon250
/linux-master/fs/autofs/
H A Droot.c137 unsigned int hash = name->hash; local
161 if (active->d_name.hash != hash)
192 unsigned int hash = name->hash; local
221 if (expiring->d_name.hash != hash)
/linux-master/fs/ext4/
H A Dcrypto.c17 dst->hinfo.hash = src->hash;
/linux-master/drivers/crypto/amcc/
H A Dcrypto4xx_core.h19 #include <crypto/internal/hash.h>
138 struct ahash_alg hash; member in union:crypto4xx_alg_common::__anon79

Completed in 327 milliseconds

<<11121314151617181920>>