Home
last modified time | relevance | path

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

12

/arch/mips/cavium-octeon/crypto/
Docteon-sha256.c36 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
46 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
72 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() local
89 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init() local
104 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update()
138 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() local
163 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() local
215 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() local
223 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() local
Docteon-sha1.c35 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash()
49 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash()
80 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() local
92 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update()
126 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() local
151 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() local
191 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() local
199 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() local
Docteon-sha512.c35 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash()
47 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash()
83 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_init() local
100 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha384_init() local
115 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update()
152 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update() local
177 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final() local
/arch/powerpc/crypto/
Dmd5-glue.c26 static inline void ppc_md5_clear_context(struct md5_state *sctx) in ppc_md5_clear_context()
38 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_init() local
52 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_update() local
83 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_final() local
115 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_export() local
123 struct md5_state *sctx = shash_desc_ctx(desc); in ppc_md5_import() local
Dsha256-spe-glue.c55 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
67 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() local
84 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init() local
102 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() local
146 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() local
207 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() local
215 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() local
Dsha1-spe-glue.c54 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context()
66 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() local
81 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local
124 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() local
161 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() local
169 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() local
Dsha1.c33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_init() local
45 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update() local
81 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_final() local
109 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_export() local
117 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_import() local
/arch/sparc/crypto/
Dsha256_glue.c31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init() local
47 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_init() local
61 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update()
85 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update() local
100 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final() local
145 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export() local
153 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import() local
Dsha1_glue.c31 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_init() local
40 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update()
64 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update() local
80 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final() local
113 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export() local
122 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import() local
Dmd5_glue.c45 static void __md5_sparc64_update(struct md5_state *sctx, const u8 *data, in __md5_sparc64_update()
69 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_update() local
85 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_final() local
118 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_export() local
127 struct md5_state *sctx = shash_desc_ctx(desc); in md5_sparc64_import() local
Dsha512_glue.c30 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_init() local
46 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_sparc64_init() local
60 static void __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, in __sha512_sparc64_update()
85 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_update() local
101 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_final() local
/arch/s390/crypto/
Dsha256_s390.c27 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_init() local
45 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_export() local
56 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha256_import() local
87 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha224_init() local
Dsha1_s390.c37 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_init() local
52 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_export() local
63 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha1_import() local
Daes_s390.c61 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip() local
80 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key() local
100 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_encrypt() local
111 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_decrypt() local
124 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local
140 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local
171 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_blk() local
193 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(tfm); in fallback_blk_dec() local
212 struct s390_aes_ctx *sctx = crypto_blkcipher_ctx(tfm); in fallback_blk_enc() local
226 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in ecb_aes_set_key() local
[all …]
Dsha512_s390.c46 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_export() local
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_import() local
/arch/arm64/crypto/
Dsha1-ce-glue.c46 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() local
60 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_finup() local
80 struct sha1_ce_state *sctx = shash_desc_ctx(desc); in sha1_ce_final() local
Dsha2-ce-glue.c48 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_update() local
62 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_finup() local
83 struct sha256_ce_state *sctx = shash_desc_ctx(desc); in sha256_ce_final() local
/arch/x86/purgatory/
Dsha256.c211 int sha256_init(struct sha256_state *sctx) in sha256_init()
226 int sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update()
256 int sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
Dpurgatory.c46 struct sha256_state sctx; in verify_sha256_digest() local
/arch/x86/crypto/
Dpoly1305_glue.c46 struct poly1305_simd_desc_ctx *sctx = shash_desc_ctx(desc); in poly1305_simd_init() local
70 struct poly1305_simd_desc_ctx *sctx; in poly1305_simd_blocks() local
/arch/arm/crypto/
Dsha256_neon_glue.c35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update() local
Dsha512-neon-glue.c31 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_neon_update() local
Dsha2-ce-glue.c34 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update() local
Dsha1-ce-glue.c33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() local
Dsha1_neon_glue.c40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update() local

12