/arch/x86/crypto/ |
D | fpu.c | 119 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 …]
|
D | twofish_glue.c | 64 static struct crypto_alg alg = { variable 86 return crypto_register_alg(&alg); in init() 91 crypto_unregister_alg(&alg); in fini()
|
D | crc32c-intel_glue.c | 216 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()
|
D | crct10dif-pclmul_glue.c | 104 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()
|
D | poly1305_glue.c | 164 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()
|
D | crc32-pclmul_glue.c | 152 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()
|
D | chacha20_glue.c | 104 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/ |
D | sha1_glue.c | 59 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()
|
D | sha1-ce-glue.c | 67 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()
|
D | sha1_neon_glue.c | 75 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/ |
D | crc32-vx.c | 188 #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, \
|
D | sha1_s390.c | 73 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/ |
D | crct10dif-vpmsum_glue.c | 93 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()
|
D | sha1.c | 123 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()
|
D | crc32c-vpmsum_glue.c | 131 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()
|
D | md5-glue.c | 129 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()
|
D | sha1-spe-glue.c | 175 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/ |
D | sha1-ce-glue.c | 99 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()
|
D | chacha20-neon-glue.c | 91 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/ |
D | crc32c_glue.c | 123 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()
|
D | sha1_glue.c | 129 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()
|
D | md5_glue.c | 134 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/ |
D | octeon-md5.c | 172 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/ |
D | clock_gettime.S | 45 alg %r1,__VDSO_WTOM_NSEC(%r5) 99 alg %r1,__VDSO_XTIME_NSEC(%r5) /* + tk->xtime_nsec */
|
/arch/cris/include/arch-v32/arch/ |
D | cryptocop.h | 35 cryptocop_algorithm alg; member
|