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.c32 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
42 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
68 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() local
85 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init() local
100 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update()
134 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() local
159 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() local
211 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() local
219 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() local
Docteon-sha1.c31 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash()
45 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash()
76 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() local
88 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update()
122 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() local
147 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() local
187 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() local
195 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() local
Docteon-sha512.c31 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash()
43 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash()
79 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_init() local
96 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha384_init() local
111 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update()
148 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update() local
173 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final() local
/arch/s390/crypto/
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
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
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
Dsha1_s390.c32 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha1_init() local
47 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha1_export() local
58 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in s390_sha1_import() local
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
188 static int fallback_skcipher_crypt(struct s390_aes_ctx *sctx, in fallback_skcipher_crypt()
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
[all …]
Dsha512_s390.c41 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_export() local
53 struct s390_sha_ctx *sctx = shash_desc_ctx(desc); in sha512_import() local
/arch/powerpc/crypto/
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
Dsha256-spe-glue.c49 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
61 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() local
78 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init() local
96 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() local
140 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() local
201 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() local
209 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() local
Dsha1-spe-glue.c48 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context()
60 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() local
75 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() local
118 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() local
155 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() local
163 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() local
Dsha1.c27 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_init() local
39 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_update() local
73 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_final() local
101 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_export() local
109 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_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.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
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/arm64/crypto/
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
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
Dsha3-ce-glue.c37 struct sha3_state *sctx = shash_desc_ctx(desc); in sha3_update() local
83 struct sha3_state *sctx = shash_desc_ctx(desc); in sha3_final() local
/arch/s390/purgatory/
Dpurgatory.c19 struct sha256_state sctx; in verify_sha256_digest() local
/arch/x86/purgatory/
Dpurgatory.c27 struct sha256_state sctx; in verify_sha256_digest() local
/arch/arm/crypto/
Dsha256_neon_glue.c30 struct sha256_state *sctx = shash_desc_ctx(desc); in crypto_sha256_neon_update() local
Dsha512-neon-glue.c29 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_neon_update() local
Dsha2-ce-glue.c33 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update() local

12