Home
last modified time | relevance | path

Searched defs:sctx (Results 1 – 25 of 68) sorted by relevance

123

/openbmc/linux/include/crypto/
H A Dsha256_base.h23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() local
31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() local
37 static inline int lib_sha256_base_do_update(struct sha256_state *sctx, in lib_sha256_base_do_update()
79 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update() local
84 static inline int lib_sha256_base_do_finalize(struct sha256_state *sctx, in lib_sha256_base_do_finalize()
109 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize() local
114 static inline int lib_sha256_base_finish(struct sha256_state *sctx, u8 *out, in lib_sha256_base_finish()
130 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish() local
H A Dsha512_base.h24 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init() local
41 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init() local
61 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update() local
100 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize() local
123 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_finish() local
H A Dsha1_base.h23 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() local
40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() local
77 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize() local
98 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish() local
H A Dsm3_base.h23 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init() local
43 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update() local
80 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize() local
101 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish() local
/openbmc/linux/drivers/md/
H A Ddm-switch.c63 struct switch_ctx *sctx; in alloc_switch_ctx() local
79 struct switch_ctx *sctx = ti->private; in alloc_region_table() local
193 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()
207 struct switch_ctx *sctx = ti->private; in parse_path() local
236 struct switch_ctx *sctx = ti->private; in switch_dtr() local
261 struct switch_ctx *sctx; in switch_ctr() local
322 struct switch_ctx *sctx = ti->private; in switch_map() local
475 struct switch_ctx *sctx = ti->private; in switch_message() local
493 struct switch_ctx *sctx = ti->private; in switch_status() local
522 struct switch_ctx *sctx = ti->private; in switch_prepare_ioctl() local
[all …]
/openbmc/linux/fs/btrfs/
H A Dsend.c1292 struct send_ctx *sctx; member
1416 struct send_ctx *sctx = bctx->sctx; in lookup_backref_cache() local
4672 struct send_ctx *sctx) in record_ref_in_tree()
4716 struct send_ctx *sctx = ctx; in record_new_ref_if_needed() local
4746 struct send_ctx *sctx = ctx; in record_deleted_ref_if_needed() local
4930 struct send_ctx *sctx = ctx; in __process_new_xattr() local
4974 struct send_ctx *sctx = ctx; in __process_deleted_xattr() local
5070 struct send_ctx *sctx = ctx; in __process_changed_new_xattr() local
5100 struct send_ctx *sctx = ctx; in __process_changed_deleted_xattr() local
7270 struct send_ctx *sctx) in changed_cb()
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Dmd5-glue.c20 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context()
32 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local
46 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local
77 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final() local
109 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export() local
117 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import() local
H A Dsha1-spe-glue.c49 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context()
62 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local
105 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() local
142 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() local
150 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() local
H A Dsha256-spe-glue.c50 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
63 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() local
107 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() local
168 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() local
176 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() local
H A Dsha1.c29 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_update() local
63 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_final() local
91 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_export() local
99 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_import() local
/openbmc/linux/arch/mips/cavium-octeon/crypto/
H A Docteon-sha256.c33 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
43 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
67 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update()
101 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() local
126 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() local
178 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() local
186 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() local
H A Docteon-sha1.c32 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash()
46 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash()
75 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update()
109 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() local
134 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() local
174 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() local
182 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() local
H A Docteon-sha512.c32 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash()
44 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash()
78 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update()
115 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update() local
140 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final() local
/openbmc/linux/arch/s390/crypto/
H A Dsha3_256_s390.c22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_init() local
33 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_export() local
45 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_256_import() local
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_import() local
89 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_224_init() local
H A Dsha3_512_s390.c21 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_init() local
32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_export() local
46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_512_import() local
62 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_import() local
98 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha3_384_init() local
H A Dsha256_s390.c22 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha256_init() local
40 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_export() local
51 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_import() local
81 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha224_init() local
H A Daes_s390.c75 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() local
87 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() local
107 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_encrypt() local
118 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in crypto_aes_decrypt() local
131 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local
147 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local
178 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in setkey_fallback_skcipher() local
204 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in ecb_aes_set_key() local
225 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in ecb_aes_crypt() local
257 struct s390_aes_ctx *sctx = crypto_skcipher_ctx(tfm); in fallback_init_skcipher() local
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsha1-ce-glue.c56 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() local
70 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_finup() local
90 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_final() local
102 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_export() local
110 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_import() local
H A Dsha2-ce-glue.c67 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_update() local
82 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_finup() local
107 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_final() local
121 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_export() local
129 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_import() local
/openbmc/linux/arch/sparc/crypto/
H A Dsha1_glue.c30 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update()
54 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update() local
70 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final() local
103 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export() local
112 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import() local
H A Dmd5_glue.c46 static void __md5_sparc64_update(struct md5_state *sctx, const u8 *data, in __md5_sparc64_update()
70 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update() local
86 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_final() local
119 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export() local
128 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import() local
H A Dsha256_glue.c30 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update()
54 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update() local
69 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final() local
114 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export() local
122 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import() local
/openbmc/linux/lib/crypto/
H A Dsha256.c121 static void sha256_transform_blocks(struct sha256_state *sctx, in sha256_transform_blocks()
134 void sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update()
140 static void __sha256_final(struct sha256_state *sctx, u8 *out, int digest_size) in __sha256_final()
146 void sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
152 void sha224_final(struct sha256_state *sctx, u8 *out) in sha224_final()
160 struct sha256_state sctx; in sha256() local
/openbmc/linux/drivers/crypto/nx/
H A Dnx-sha256.c44 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_init() local
64 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_update() local
183 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_final() local
253 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_export() local
262 struct sha256_state_be *sctx = shash_desc_ctx(desc); in nx_sha256_import() local
H A Dnx-sha512.c44 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_init() local
64 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_update() local
186 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_final() local
259 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_export() local
268 struct sha512_state_be *sctx = shash_desc_ctx(desc); in nx_sha512_import() local

123