Home
last modified time | relevance | path

Searched refs:shash_desc_ctx (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v5.4/crypto/
Dsha256_generic.c38 return sha256_init(shash_desc_ctx(desc)); in crypto_sha256_init()
43 return sha224_init(shash_desc_ctx(desc)); in crypto_sha224_init()
49 return sha256_update(shash_desc_ctx(desc), data, len); in crypto_sha256_update()
56 return sha224_final(shash_desc_ctx(desc), out); in crypto_sha256_final()
58 return sha256_final(shash_desc_ctx(desc), out); in crypto_sha256_final()
64 sha256_update(shash_desc_ctx(desc), data, len); in crypto_sha256_finup()
Dcrct10dif_generic.c44 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init()
54 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update()
62 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final()
77 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup()
Dcrc32_generic.c74 u32 *crcp = shash_desc_ctx(desc); in crc32_init()
84 u32 *crcp = shash_desc_ctx(desc); in crc32_update()
101 return __crc32_finup(shash_desc_ctx(desc), data, len, out); in crc32_finup()
106 u32 *crcp = shash_desc_ctx(desc); in crc32_final()
Dcrc32c_generic.c60 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init()
88 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update()
96 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final()
111 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup()
/Linux-v5.4/include/crypto/
Dsha256_base.h23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init()
30 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init()
40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update()
77 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize()
99 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish()
Dsha512_base.h23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init()
40 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init()
60 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update()
99 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize()
122 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_finish()
Dsha1_base.h22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init()
39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update()
76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize()
97 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish()
Dsm3_base.h22 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init()
42 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update()
79 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize()
100 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish()
/Linux-v5.4/drivers/crypto/
Dpadlock-sha.c33 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_init()
43 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_update()
50 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_export()
57 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_import()
80 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha1_finup()
141 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha256_finup()
276 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano()
288 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano()
336 struct sha1_state *state = (struct sha1_state *)shash_desc_ctx(desc); in padlock_sha1_final_nano()
359 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano()
[all …]
/Linux-v5.4/arch/s390/crypto/
Dsha3_256_s390.c23 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_init()
34 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_export()
46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_import()
59 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_import()
90 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_init()
Dsha3_512_s390.c22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_init()
33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_export()
47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_import()
63 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_import()
99 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_init()
/Linux-v5.4/arch/powerpc/crypto/
Dsha1.c28 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_init()
40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update()
76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_final()
104 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_export()
112 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_import()
Dmd5-glue.c33 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init()
47 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update()
78 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final()
110 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export()
118 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import()
Dsha1-spe-glue.c61 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init()
76 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update()
119 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final()
156 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export()
164 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import()
Dsha256-spe-glue.c62 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init()
79 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init()
97 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update()
141 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final()
202 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export()
210 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import()
/Linux-v5.4/arch/arm/crypto/
Dcrc32-ce-glue.c68 u32 *crc = shash_desc_ctx(desc); in crc32_init()
77 u32 *crc = shash_desc_ctx(desc); in crc32_update()
86 u32 *crc = shash_desc_ctx(desc); in crc32c_update()
94 u32 *crc = shash_desc_ctx(desc); in crc32_final()
102 u32 *crc = shash_desc_ctx(desc); in crc32c_final()
111 u32 *crc = shash_desc_ctx(desc); in crc32_pmull_update()
145 u32 *crc = shash_desc_ctx(desc); in crc32c_pmull_update()
/Linux-v5.4/arch/x86/crypto/
Dcrc32c-intel_glue.c105 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_init()
115 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_update()
131 return __crc32c_intel_finup(shash_desc_ctx(desc), data, len, out); in crc32c_intel_finup()
136 u32 *crcp = shash_desc_ctx(desc); in crc32c_intel_final()
162 u32 *crcp = shash_desc_ctx(desc); in crc32c_pcl_intel_update()
193 return __crc32c_pcl_intel_finup(shash_desc_ctx(desc), data, len, out); in crc32c_pcl_intel_finup()
Dcrct10dif-pclmul_glue.c45 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init()
55 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update()
68 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final()
88 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup()
/Linux-v5.4/arch/arm64/crypto/
Dcrct10dif-ce-glue.c28 u16 *crc = shash_desc_ctx(desc); in crct10dif_init()
37 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p8()
53 u16 *crc = shash_desc_ctx(desc); in crct10dif_update_pmull_p64()
68 u16 *crc = shash_desc_ctx(desc); in crct10dif_final()
/Linux-v5.4/arch/sparc/crypto/
Dsha1_glue.c32 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_init()
65 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update()
81 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final()
114 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export()
123 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import()
Dsha256_glue.c32 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init()
48 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_init()
86 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update()
101 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final()
146 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export()
154 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import()
Dmd5_glue.c35 struct md5_state *mctx = shash_desc_ctx(desc); in md5_sparc64_init()
70 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update()
86 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_final()
119 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export()
128 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import()
/Linux-v5.4/arch/mips/cavium-octeon/crypto/
Docteon-sha256.c68 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init()
85 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init()
134 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update()
159 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final()
211 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export()
219 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import()
Docteon-md5.c70 struct md5_state *mctx = shash_desc_ctx(desc); in octeon_md5_init()
84 struct md5_state *mctx = shash_desc_ctx(desc); in octeon_md5_update()
123 struct md5_state *mctx = shash_desc_ctx(desc); in octeon_md5_final()
158 struct md5_state *ctx = shash_desc_ctx(desc); in octeon_md5_export()
166 struct md5_state *ctx = shash_desc_ctx(desc); in octeon_md5_import()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe.h79 *(u32 *)shash_desc_ctx(shash) = crc; in rxe_crc32()
86 retval = *(u32 *)shash_desc_ctx(shash); in rxe_crc32()
87 barrier_data(shash_desc_ctx(shash)); in rxe_crc32()

1234