/arch/mips/cavium-octeon/crypto/ |
D | octeon-md5.c | 39 u64 *hash = (u64 *)ctx->hash; in octeon_md5_store_hash() local 41 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_md5_store_hash() 42 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_md5_store_hash() 47 u64 *hash = (u64 *)ctx->hash; in octeon_md5_read_hash() local 49 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_md5_read_hash() 50 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_md5_read_hash() 71 mctx->hash[0] = MD5_H0; in octeon_md5_init() 72 mctx->hash[1] = MD5_H1; in octeon_md5_init() 73 mctx->hash[2] = MD5_H2; in octeon_md5_init() 74 mctx->hash[3] = MD5_H3; in octeon_md5_init() [all …]
|
D | octeon-sha256.c | 34 u64 *hash = (u64 *)sctx->state; in octeon_sha256_store_hash() local 36 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_sha256_store_hash() 37 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_sha256_store_hash() 38 write_octeon_64bit_hash_dword(hash[2], 2); in octeon_sha256_store_hash() 39 write_octeon_64bit_hash_dword(hash[3], 3); in octeon_sha256_store_hash() 44 u64 *hash = (u64 *)sctx->state; in octeon_sha256_read_hash() local 46 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_sha256_read_hash() 47 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_sha256_read_hash() 48 hash[2] = read_octeon_64bit_hash_dword(2); in octeon_sha256_read_hash() 49 hash[3] = read_octeon_64bit_hash_dword(3); in octeon_sha256_read_hash() [all …]
|
D | octeon-sha1.c | 33 u64 *hash = (u64 *)sctx->state; in octeon_sha1_store_hash() local 39 write_octeon_64bit_hash_dword(hash[0], 0); in octeon_sha1_store_hash() 40 write_octeon_64bit_hash_dword(hash[1], 1); in octeon_sha1_store_hash() 47 u64 *hash = (u64 *)sctx->state; in octeon_sha1_read_hash() local 53 hash[0] = read_octeon_64bit_hash_dword(0); in octeon_sha1_read_hash() 54 hash[1] = read_octeon_64bit_hash_dword(1); in octeon_sha1_read_hash()
|
/arch/mips/kernel/ |
D | relocate.c | 194 static inline __init unsigned long rotate_xor(unsigned long hash, in rotate_xor() argument 197 const typeof(hash) *ptr = PTR_ALIGN(area, sizeof(hash)); in rotate_xor() 201 if (unlikely(size < diff + sizeof(hash))) in rotate_xor() 202 return hash; in rotate_xor() 204 size = ALIGN_DOWN(size - diff, sizeof(hash)); in rotate_xor() 206 for (i = 0; i < size / sizeof(hash); i++) { in rotate_xor() 208 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7); in rotate_xor() 209 hash ^= ptr[i]; in rotate_xor() 212 return hash; in rotate_xor() 218 unsigned long hash = 0; in get_random_boot() local [all …]
|
/arch/powerpc/crypto/ |
D | md5-glue.c | 34 sctx->hash[0] = MD5_H0; in ppc_md5_init() 35 sctx->hash[1] = MD5_H1; in ppc_md5_init() 36 sctx->hash[2] = MD5_H2; in ppc_md5_init() 37 sctx->hash[3] = MD5_H3; in ppc_md5_init() 60 ppc_md5_transform(sctx->hash, (const u8 *)sctx->block, 1); in ppc_md5_update() 66 ppc_md5_transform(sctx->hash, src, len >> 6); in ppc_md5_update() 89 ppc_md5_transform(sctx->hash, src, 1); in ppc_md5_final() 96 ppc_md5_transform(sctx->hash, src, 1); in ppc_md5_final() 98 dst[0] = cpu_to_le32(sctx->hash[0]); in ppc_md5_final() 99 dst[1] = cpu_to_le32(sctx->hash[1]); in ppc_md5_final() [all …]
|
/arch/powerpc/mm/book3s64/ |
D | hash_hugepage.c | 30 unsigned long vpn, hash, shift, slot; in __hash_page_thp() local 105 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 108 hash = ~hash; in __hash_page_thp() 109 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp() 131 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 137 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp() 146 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp() 153 hpte_group = (hash & htab_hash_mask) * in __hash_page_thp()
|
D | hash_64k.c | 45 unsigned long vpn, hash, slot, gslot; in __hash_page_4K() local 155 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K() 157 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K() 168 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K() 196 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K() 231 unsigned long vpn, hash, slot; in __hash_page_64K() local 287 hash = hpt_hash(vpn, shift, ssize); in __hash_page_64K() 290 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K() 300 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_64K() 308 hpte_group = (hash & htab_hash_mask) * in __hash_page_64K()
|
D | hash_4k.c | 27 unsigned long vpn, hash, slot; in __hash_page_4K() local 80 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K() 83 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K() 92 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_4K() 100 hpte_group = (hash & htab_hash_mask) * in __hash_page_4K()
|
/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 47 static unsigned long __init rotate_xor(unsigned long hash, const void *area, in rotate_xor() argument 53 for (i = 0; i < size / sizeof(hash); i++) { in rotate_xor() 55 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7); in rotate_xor() 56 hash ^= ptr[i]; in rotate_xor() 59 return hash; in rotate_xor() 68 unsigned long hash = 0; in get_boot_seed() local 71 hash = rotate_xor(hash, linux_banner, strlen(linux_banner)); in get_boot_seed() 72 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt)); in get_boot_seed() 74 return hash; in get_boot_seed()
|
/arch/sparc/crypto/ |
D | md5_glue.c | 36 mctx->hash[0] = MD5_H0; in md5_sparc64_init() 37 mctx->hash[1] = MD5_H1; in md5_sparc64_init() 38 mctx->hash[2] = MD5_H2; in md5_sparc64_init() 39 mctx->hash[3] = MD5_H3; in md5_sparc64_init() 40 le32_to_cpu_array(mctx->hash, 4); in md5_sparc64_init() 55 md5_sparc64_transform(sctx->hash, (u8 *)sctx->block, 1); in __md5_sparc64_update() 60 md5_sparc64_transform(sctx->hash, data + done, rounds); in __md5_sparc64_update() 109 dst[i] = sctx->hash[i]; in md5_sparc64_final()
|
/arch/x86/um/vdso/ |
D | vdso-layout.lds.S | 12 .hash : { *(.hash) } :text 13 .gnu.hash : { *(.gnu.hash) }
|
/arch/nds32/kernel/vdso/ |
D | vdso.lds.S | 17 .hash : { *(.hash) } :text 18 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm/vdso/ |
D | vdso.lds.S | 26 .hash : { *(.hash) } :text 27 .gnu.hash : { *(.gnu.hash) }
|
/arch/sh/kernel/vsyscall/ |
D | vsyscall.lds.S | 23 .hash : { *(.hash) } :text 24 .gnu.hash : { *(.gnu.hash) }
|
/arch/csky/kernel/vdso/ |
D | vdso.lds.S | 12 .hash : { *(.hash) } :text 13 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm64/kernel/vdso32/ |
D | vdso.lds.S | 26 .hash : { *(.hash) } :text 27 .gnu.hash : { *(.gnu.hash) }
|
/arch/riscv/kernel/vdso/ |
D | vdso.lds.S | 15 .hash : { *(.hash) } :text 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/sparc/vdso/ |
D | vdso-layout.lds.S | 31 .hash : { *(.hash) } :text 32 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm64/kernel/vdso/ |
D | vdso.lds.S | 26 .hash : { *(.hash) } :text 27 .gnu.hash : { *(.gnu.hash) }
|
/arch/x86/entry/vdso/ |
D | vdso-layout.lds.S | 39 .hash : { *(.hash) } :text 40 .gnu.hash : { *(.gnu.hash) }
|
/arch/mips/vdso/ |
D | vdso.lds.S | 35 .hash : { *(.hash) } :text 36 .gnu.hash : { *(.gnu.hash) }
|
/arch/ia64/kernel/ |
D | gate.lds.S | 15 .hash : { *(.hash) } :readable 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kernel/vdso32/ |
D | vdso32.lds.S | 23 .hash : { *(.hash) } :text 24 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kernel/vdso64/ |
D | vdso64.lds.S | 23 .hash : { *(.hash) } :text 24 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm64/crypto/ |
D | nhpoly1305-neon-glue.c | 17 u8 hash[NH_HASH_BYTES]); 21 __le64 hash[NH_NUM_PASSES]) in _nh_neon() 23 nh_neon(key, message, message_len, (u8 *)hash); in _nh_neon()
|