Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 25 of 32) sorted by relevance

12

/arch/x86/crypto/
Dfpu.c119 struct skcipher_alg *alg; in crypto_fpu_create() local
150 alg = crypto_skcipher_spawn_alg(spawn); in crypto_fpu_create()
153 &alg->base); in crypto_fpu_create()
157 inst->alg.base.cra_flags = CRYPTO_ALG_INTERNAL; in crypto_fpu_create()
158 inst->alg.base.cra_priority = alg->base.cra_priority; in crypto_fpu_create()
159 inst->alg.base.cra_blocksize = alg->base.cra_blocksize; in crypto_fpu_create()
160 inst->alg.base.cra_alignmask = alg->base.cra_alignmask; in crypto_fpu_create()
162 inst->alg.ivsize = crypto_skcipher_alg_ivsize(alg); in crypto_fpu_create()
163 inst->alg.min_keysize = crypto_skcipher_alg_min_keysize(alg); in crypto_fpu_create()
164 inst->alg.max_keysize = crypto_skcipher_alg_max_keysize(alg); in crypto_fpu_create()
[all …]
Dtwofish_glue.c64 static struct crypto_alg alg = { variable
86 return crypto_register_alg(&alg); in init()
91 crypto_unregister_alg(&alg); in fini()
Dcrc32c-intel_glue.c216 static struct shash_alg alg = { variable
249 alg.update = crc32c_pcl_intel_update; in crc32c_intel_mod_init()
250 alg.finup = crc32c_pcl_intel_finup; in crc32c_intel_mod_init()
251 alg.digest = crc32c_pcl_intel_digest; in crc32c_intel_mod_init()
254 return crypto_register_shash(&alg); in crc32c_intel_mod_init()
259 crypto_unregister_shash(&alg); in crc32c_intel_mod_fini()
Dcrct10dif-pclmul_glue.c104 static struct shash_alg alg = { variable
132 return crypto_register_shash(&alg); in crct10dif_intel_mod_init()
137 crypto_unregister_shash(&alg); in crct10dif_intel_mod_fini()
Dpoly1305_glue.c164 static struct shash_alg alg = { variable
190 alg.descsize = sizeof(struct poly1305_simd_desc_ctx); in poly1305_simd_mod_init()
192 alg.descsize += 10 * sizeof(u32); in poly1305_simd_mod_init()
194 return crypto_register_shash(&alg); in poly1305_simd_mod_init()
199 crypto_unregister_shash(&alg); in poly1305_simd_mod_exit()
Dcrc32-pclmul_glue.c152 static struct shash_alg alg = { variable
187 return crypto_register_shash(&alg); in crc32_pclmul_mod_init()
192 crypto_unregister_shash(&alg); in crc32_pclmul_mod_fini()
Dchacha20_glue.c104 static struct skcipher_alg alg = { variable
132 return crypto_register_skcipher(&alg); in chacha20_simd_mod_init()
137 crypto_unregister_skcipher(&alg); in chacha20_simd_mod_fini()
/arch/arm/crypto/
Dsha1_glue.c59 static struct shash_alg alg = { variable
79 return crypto_register_shash(&alg); in sha1_mod_init()
85 crypto_unregister_shash(&alg); in sha1_mod_fini()
Dsha1-ce-glue.c67 static struct shash_alg alg = { variable
86 return crypto_register_shash(&alg); in sha1_ce_mod_init()
91 crypto_unregister_shash(&alg); in sha1_ce_mod_fini()
Dsha1_neon_glue.c75 static struct shash_alg alg = { variable
97 return crypto_register_shash(&alg); in sha1_neon_mod_init()
102 crypto_unregister_shash(&alg); in sha1_neon_mod_fini()
/arch/s390/crypto/
Dcrc32-vx.c188 #define CRC32_VX_FINUP(alg, func) \ argument
189 static int alg ## _vx_finup(struct shash_desc *desc, const u8 *data, \
192 return __ ## alg ## _vx_finup(shash_desc_ctx(desc), \
200 #define CRC32_VX_DIGEST(alg, func) \ argument
201 static int alg ## _vx_digest(struct shash_desc *desc, const u8 *data, \
204 return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm), \
212 #define CRC32_VX_UPDATE(alg, func) \ argument
213 static int alg ## _vx_update(struct shash_desc *desc, const u8 *data, \
Dsha1_s390.c73 static struct shash_alg alg = { variable
96 return crypto_register_shash(&alg); in sha1_s390_init()
101 crypto_unregister_shash(&alg); in sha1_s390_fini()
/arch/powerpc/crypto/
Dcrct10dif-vpmsum_glue.c93 static struct shash_alg alg = { variable
113 return crypto_register_shash(&alg); in crct10dif_vpmsum_mod_init()
118 crypto_unregister_shash(&alg); in crct10dif_vpmsum_mod_fini()
Dsha1.c123 static struct shash_alg alg = { variable
143 return crypto_register_shash(&alg); in sha1_powerpc_mod_init()
148 crypto_unregister_shash(&alg); in sha1_powerpc_mod_fini()
Dcrc32c-vpmsum_glue.c131 static struct shash_alg alg = { variable
157 return crypto_register_shash(&alg); in crc32c_vpmsum_mod_init()
162 crypto_unregister_shash(&alg); in crc32c_vpmsum_mod_fini()
Dmd5-glue.c129 static struct shash_alg alg = { variable
150 return crypto_register_shash(&alg); in ppc_md5_mod_init()
155 crypto_unregister_shash(&alg); in ppc_md5_mod_fini()
Dsha1-spe-glue.c175 static struct shash_alg alg = { variable
196 return crypto_register_shash(&alg); in ppc_spe_sha1_mod_init()
201 crypto_unregister_shash(&alg); in ppc_spe_sha1_mod_fini()
/arch/arm64/crypto/
Dsha1-ce-glue.c99 static struct shash_alg alg = { variable
118 return crypto_register_shash(&alg); in sha1_ce_mod_init()
123 crypto_unregister_shash(&alg); in sha1_ce_mod_fini()
Dchacha20-neon-glue.c91 static struct skcipher_alg alg = { variable
114 return crypto_register_skcipher(&alg); in chacha20_simd_mod_init()
119 crypto_unregister_skcipher(&alg); in chacha20_simd_mod_fini()
/arch/sparc/crypto/
Dcrc32c_glue.c123 static struct shash_alg alg = { variable
163 return crypto_register_shash(&alg); in crc32c_sparc64_mod_init()
171 crypto_unregister_shash(&alg); in crc32c_sparc64_mod_fini()
Dsha1_glue.c129 static struct shash_alg alg = { variable
166 return crypto_register_shash(&alg); in sha1_sparc64_mod_init()
174 crypto_unregister_shash(&alg); in sha1_sparc64_mod_fini()
Dmd5_glue.c134 static struct shash_alg alg = { variable
171 return crypto_register_shash(&alg); in md5_sparc64_mod_init()
179 crypto_unregister_shash(&alg); in md5_sparc64_mod_fini()
/arch/mips/cavium-octeon/crypto/
Docteon-md5.c172 static struct shash_alg alg = { variable
195 return crypto_register_shash(&alg); in md5_mod_init()
200 crypto_unregister_shash(&alg); in md5_mod_fini()
/arch/s390/kernel/vdso64/
Dclock_gettime.S45 alg %r1,__VDSO_WTOM_NSEC(%r5)
99 alg %r1,__VDSO_XTIME_NSEC(%r5) /* + tk->xtime_nsec */
/arch/cris/include/arch-v32/arch/
Dcryptocop.h35 cryptocop_algorithm alg; member

12