Home
last modified time | relevance | path

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

/arch/x86/crypto/
A Dtwofish_glue.c65 static struct crypto_alg alg = { variable
86 return crypto_register_alg(&alg); in twofish_glue_init()
91 crypto_unregister_alg(&alg); in twofish_glue_fini()
/arch/powerpc/crypto/
A Dmd5-glue.c66 static struct shash_alg alg = { variable
84 return crypto_register_shash(&alg); in ppc_md5_mod_init()
89 crypto_unregister_shash(&alg); in ppc_md5_mod_fini()
A Daes.c30 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_init() local
34 fallback = crypto_alloc_cipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in p8_aes_init()
38 alg, PTR_ERR(fallback)); in p8_aes_init()
/arch/sparc/crypto/
A Dmd5_glue.c118 static struct shash_alg alg = { variable
155 return crypto_register_shash(&alg); in md5_sparc64_mod_init()
163 crypto_unregister_shash(&alg); in md5_sparc64_mod_fini()
/arch/mips/cavium-octeon/crypto/
A Docteon-md5.c178 static struct shash_alg alg = { variable
201 return crypto_register_shash(&alg); in md5_mod_init()
206 crypto_unregister_shash(&alg); in md5_mod_fini()
/arch/s390/crypto/
A Dhmac_s390.c338 .alg = { \
367 struct shash_alg alg; member
384 crypto_unregister_shash(&hmac->alg); in _s390_hmac_algs_unregister()
403 rc = crypto_register_shash(&hmac->alg); in hmac_s390_init()
406 hmac->alg.halg.base.cra_name); in hmac_s390_init()
410 pr_debug("registered %s\n", hmac->alg.halg.base.cra_name); in hmac_s390_init()
A Ddes_s390.c403 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg() argument
407 ret = crypto_register_alg(alg); in des_s390_register_alg()
409 des_s390_algs_ptr[des_s390_algs_num++] = alg; in des_s390_register_alg()
413 static int des_s390_register_skcipher(struct skcipher_alg *alg) in des_s390_register_skcipher() argument
417 ret = crypto_register_skcipher(alg); in des_s390_register_skcipher()
419 des_s390_skciphers_ptr[des_s390_skciphers_num++] = alg; in des_s390_register_skcipher()
A Dphmac_s390.c948 struct ahash_engine_alg alg; member
953 .alg = S390_ASYNC_PHMAC_ALG(224),
956 .alg = S390_ASYNC_PHMAC_ALG(256),
959 .alg = S390_ASYNC_PHMAC_ALG(384),
962 .alg = S390_ASYNC_PHMAC_ALG(512),
984 crypto_engine_unregister_ahash(&phmac->alg); in s390_phmac_exit()
1025 rc = crypto_engine_register_ahash(&phmac->alg); in s390_phmac_init()
1029 pr_debug("%s registered\n", phmac->alg.base.halg.base.cra_name); in s390_phmac_init()
A Daes_s390.c1058 static int aes_s390_register_skcipher(struct skcipher_alg *alg) in aes_s390_register_skcipher() argument
1062 ret = crypto_register_skcipher(alg); in aes_s390_register_skcipher()
1064 aes_s390_skcipher_algs[aes_s390_skciphers_num++] = alg; in aes_s390_register_skcipher()
A Dpaes_s390.c1603 static inline void __crypto_unregister_skcipher(struct skcipher_engine_alg *alg) in __crypto_unregister_skcipher() argument
1605 if (!list_empty(&alg->base.base.cra_list)) in __crypto_unregister_skcipher()
1606 crypto_engine_unregister_skcipher(alg); in __crypto_unregister_skcipher()
/arch/s390/tools/
A Dopcodes.txt743 e30a alg RXY_RRRD

Completed in 25 milliseconds