Searched refs:hash (Results 51 - 75 of 1185) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dmodule_signature.h35 u8 hash; /* Digest algorithm [0] */ member in struct:module_signature
/linux-master/arch/arm/vdso/
H A Dvdso.lds.S26 .hash : { *(.hash) } :text
27 .gnu.hash : { *(.gnu.hash) }
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dpkeys.h6 #include <asm/book3s/64/hash-pkey.h>
/linux-master/arch/csky/kernel/vdso/
H A Dvdso.lds.S12 .hash : { *(.hash) } :text
13 .gnu.hash : { *(.gnu.hash) }
/linux-master/include/crypto/
H A Dkdf_sp800108.h10 #include <crypto/hash.h>
49 * SP800-108 allows the use of either a HMAC or a hash primitive. When
50 * the caller intends to use a hash primitive, the call to
/linux-master/arch/arm64/kernel/vdso32/
H A Dvdso.lds.S27 .hash : { *(.hash) } :text
28 .gnu.hash : { *(.gnu.hash) }
/linux-master/arch/loongarch/vdso/
H A Dvdso.lds.S16 .hash : { *(.hash) } :text
17 .gnu.hash : { *(.gnu.hash) }
/linux-master/fs/smb/common/
H A Dmd4.h17 u32 hash[MD4_HASH_WORDS]; member in struct:md4_ctx
H A Dcifs_md4.c54 static void md4_transform(u32 *hash, u32 const *in) argument
58 a = hash[0];
59 b = hash[1];
60 c = hash[2];
61 d = hash[3];
114 hash[0] += a;
115 hash[1] += b;
116 hash[2] += c;
117 hash[3] += d;
123 md4_transform(ctx->hash, ct
[all...]
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr.c105 PPC_RAW_HASHST(31, -8, 30) /* compute hash into stack location */
110 * Perform a hashchk instruction. A hash is computed as per hashst(),
112 * value is read and compared against the computed hash.
121 PPC_RAW_HASHCHK(31, -8, 30) /* check hash at stack location */
127 unsigned long hash = 0; local
129 hashst(0, &hash);
130 hash += 1;
131 hashchk(0, &hash);
/linux-master/fs/dlm/
H A Ddir.h16 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash);
/linux-master/arch/mips/vdso/
H A Dvdso.lds.S35 .hash : { *(.hash) } :text
36 .gnu.hash : { *(.gnu.hash) }
/linux-master/io_uring/
H A Dio-wq.h15 IO_WQ_HASH_SHIFT = 24, /* upper 8 bits are used for hash key */
33 static inline void io_wq_put_hash(struct io_wq_hash *hash) argument
35 if (refcount_dec_and_test(&hash->refs))
36 kfree(hash);
40 struct io_wq_hash *hash; member in struct:io_wq_data
/linux-master/arch/riscv/kernel/vdso/
H A Dvdso.lds.S18 .hash : { *(.hash) } :text
19 .gnu.hash : { *(.gnu.hash) }
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_vmid.c40 * lpfc_get_vmid_from_hashtable - search the UUID in the hash table
42 * @hash: calculated hash value
48 u32 hash, u8 *buf)
52 hash_for_each_possible(vport->hash_table, vmp, hnode, hash) {
60 * lpfc_put_vmid_in_hashtable - put the VMID in the hash table
62 * @hash - calculated hash value
65 * This routine will insert the newly acquired VMID entity in the hash table.
69 lpfc_put_vmid_in_hashtable(struct lpfc_vport *vport, u32 hash, argument
47 lpfc_get_vmid_from_hashtable(struct lpfc_vport *vport, u32 hash, u8 *buf) argument
84 int hash = 0; local
132 u32 hash; local
163 int hash, len, rc = -EPERM, i; local
[all...]
/linux-master/scripts/kconfig/
H A Dutil.c16 /* fnv32 hash */
17 unsigned int hash = 2166136261U; local
20 hash = (hash ^ *s) * 0x01000193;
21 return hash;
24 /* hash table of all parsed Kconfig files */
37 int hash = strhash(name); local
39 hash_for_each_possible(file_hashtable, file, node, hash)
49 hash_add(file_hashtable, &file->node, hash);
/linux-master/fs/ubifs/
H A Dkey.h21 * 4KiB offset in case of inode node, and direntry hash in case of a direntry
22 * node. We use "r5" hash borrowed from reiserfs.
35 * key_mask_hash - mask a valid hash value.
38 * We use hash values as offset in directories, so values %0 and %1 are
42 static inline uint32_t key_mask_hash(uint32_t hash) argument
44 hash &= UBIFS_S_KEY_HASH_MASK;
45 if (unlikely(hash <= 2))
46 hash += 3;
47 return hash;
51 * key_r5_hash - R5 hash functio
150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); local
165 dent_key_init_hash(const struct ubifs_info *c, union ubifs_key *key, ino_t inum, uint32_t hash) argument
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); local
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); local
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); local
[all...]
/linux-master/include/keys/
H A Dsystem_keyring.h14 /* TBSCertificate hash */
16 /* Raw data hash */
78 extern int mark_hash_blacklisted(const u8 *hash, size_t hash_len,
80 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len,
82 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len);
84 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, argument
90 static inline int is_binary_blacklisted(const u8 *hash, size_t hash_len) argument
/linux-master/security/integrity/ima/
H A Dima_init.c30 * Calculate the boot aggregate, a hash over tpm registers 0-7,
50 struct ima_max_digest_data hash; local
55 memset(&hash, 0, sizeof(hash));
56 iint->ima_hash = &hash.hdr;
61 * With TPM 2.0 hash agility, TPM chips could support multiple TPM
65 * Use the same hash algorithm for reading the TPM PCRs as for
67 * the configured IMA default hash algorithm. Otherwise, use the
73 result = ima_calc_boot_aggregate(&hash.hdr);
H A Dima_crypto.c10 * Calculates md5/sha1 file hash, template hash, boot-aggreate hash
21 #include <crypto/hash.h>
86 pr_info("Allocated hash algorithm: %s\n",
330 struct ima_digest_data *hash,
341 hash->length = crypto_ahash_digestsize(tfm);
432 ahash_request_set_crypt(req, NULL, hash->digest, 0);
440 static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash) argument
445 tfm = ima_alloc_atfm(hash
329 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument
456 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) argument
507 ima_calc_file_shash(struct file *file, struct ima_digest_data *hash) argument
536 ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) argument
663 calc_buffer_ahash_atfm(const void *buf, loff_t len, struct ima_digest_data *hash, struct crypto_ahash *tfm) argument
703 calc_buffer_ahash(const void *buf, loff_t len, struct ima_digest_data *hash) argument
720 calc_buffer_shash_tfm(const void *buf, loff_t size, struct ima_digest_data *hash, struct crypto_shash *tfm) argument
750 calc_buffer_shash(const void *buf, loff_t len, struct ima_digest_data *hash) argument
766 ima_calc_buffer_hash(const void *buf, loff_t len, struct ima_digest_data *hash) argument
844 ima_calc_boot_aggregate(struct ima_digest_data *hash) argument
[all...]
/linux-master/scripts/basic/
H A Dfixdep.c111 unsigned int hash; member in struct:item
120 /* fnv32 hash */
121 unsigned int i, hash = 2166136261U; local
124 hash = (hash ^ str[i]) * 0x01000193;
125 return hash;
131 static void add_to_hashtable(const char *name, int len, unsigned int hash, argument
142 aux->hash = hash;
143 aux->next = hashtab[hash
154 unsigned int hash = strhash(name, len); local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c67 * ref_hash hash tables.
106 * @hash: Hash entry for the per-file object reference hash.
116 * This is similar to an idr object, but it also has a hash table entry
126 struct vmwgfx_hash_item hash; member in struct:ttm_ref_object
146 struct vmwgfx_hash_item *hash; local
148 hash_for_each_possible_rcu(tfile->ref_hash, hash, head, key) {
149 if (hash->key == key) {
150 *p_hash = hash;
161 struct vmwgfx_hash_item *hash; local
261 struct vmwgfx_hash_item *hash; local
299 struct vmwgfx_hash_item *hash; local
368 struct vmwgfx_hash_item *hash; local
[all...]
/linux-master/arch/sparc/crypto/
H A Dmd5_glue.c17 #include <crypto/internal/hash.h>
36 mctx->hash[0] = MD5_H0;
37 mctx->hash[1] = MD5_H1;
38 mctx->hash[2] = MD5_H2;
39 mctx->hash[3] = MD5_H3;
40 le32_to_cpu_array(mctx->hash, 4);
55 md5_sparc64_transform(sctx->hash, (u8 *)sctx->block, 1);
60 md5_sparc64_transform(sctx->hash, data + done, rounds);
109 dst[i] = sctx->hash[i];
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-sha256.c25 #include <crypto/internal/hash.h>
35 u64 *hash = (u64 *)sctx->state; local
37 write_octeon_64bit_hash_dword(hash[0], 0);
38 write_octeon_64bit_hash_dword(hash[1], 1);
39 write_octeon_64bit_hash_dword(hash[2], 2);
40 write_octeon_64bit_hash_dword(hash[3], 3);
45 u64 *hash = (u64 *)sctx->state; local
47 hash[0] = read_octeon_64bit_hash_dword(0);
48 hash[1] = read_octeon_64bit_hash_dword(1);
49 hash[
164 octeon_sha224_final(struct shash_desc *desc, u8 *hash) argument
[all...]
/linux-master/security/keys/
H A Ddh.c11 #include <crypto/hash.h>
67 static int kdf_alloc(struct crypto_shash **hash, char *hashname) argument
71 /* allocate synchronous hash */
83 *hash = tfm;
88 static void kdf_dealloc(struct crypto_shash *hash) argument
90 if (hash)
91 crypto_free_shash(hash);
94 static int keyctl_dh_compute_kdf(struct crypto_shash *hash, argument
101 size_t outbuf_len = roundup(buflen, crypto_shash_digestsize(hash));
109 ret = crypto_kdf108_ctr_generate(hash,
138 struct crypto_shash *hash = NULL; local
[all...]

Completed in 238 milliseconds

1234567891011>>