Searched refs:alg (Results 1 – 11 of 11) sorted by relevance
65 static struct crypto_alg alg = { variable86 return crypto_register_alg(&alg); in twofish_glue_init()91 crypto_unregister_alg(&alg); in twofish_glue_fini()
66 static struct shash_alg alg = { variable84 return crypto_register_shash(&alg); in ppc_md5_mod_init()89 crypto_unregister_shash(&alg); in ppc_md5_mod_fini()
30 const char *alg = crypto_tfm_alg_name(tfm); in p8_aes_init() local34 fallback = crypto_alloc_cipher(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in p8_aes_init()38 alg, PTR_ERR(fallback)); in p8_aes_init()
118 static struct shash_alg alg = { variable155 return crypto_register_shash(&alg); in md5_sparc64_mod_init()163 crypto_unregister_shash(&alg); in md5_sparc64_mod_fini()
178 static struct shash_alg alg = { variable201 return crypto_register_shash(&alg); in md5_mod_init()206 crypto_unregister_shash(&alg); in md5_mod_fini()
338 .alg = { \367 struct shash_alg alg; member384 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()
403 static int des_s390_register_alg(struct crypto_alg *alg) in des_s390_register_alg() argument407 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() argument417 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()
948 struct ahash_engine_alg alg; member953 .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()
1058 static int aes_s390_register_skcipher(struct skcipher_alg *alg) in aes_s390_register_skcipher() argument1062 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()
1603 static inline void __crypto_unregister_skcipher(struct skcipher_engine_alg *alg) in __crypto_unregister_skcipher() argument1605 if (!list_empty(&alg->base.base.cra_list)) in __crypto_unregister_skcipher()1606 crypto_engine_unregister_skcipher(alg); in __crypto_unregister_skcipher()
743 e30a alg RXY_RRRD
Completed in 26 milliseconds