Home
last modified time | relevance | path

Searched refs:cra_type (Results 1 – 13 of 13) sorted by relevance

/linux/crypto/
H A Dskcipher.c312 if (alg->co.base.cra_type != &crypto_skcipher_type) in skcipher_walk_virt()
405 if (cipher->co.base.cra_type != &crypto_skcipher_type) { in crypto_skcipher_setkey()
442 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_encrypt()
455 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_decrypt()
502 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_export()
513 if (alg->co.base.cra_type != &crypto_skcipher_type) in crypto_skcipher_import()
534 if (tfm->__crt_alg->cra_type != &crypto_skcipher_type) { in crypto_skcipher_init_tfm()
559 if (alg->cra_type != &crypto_skcipher_type) in crypto_skcipher_extsize()
712 base->cra_type = &crypto_skcipher_type; in skcipher_prepare_alg()
H A Dapi.c373 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops()
381 const struct crypto_type *type_obj = alg->cra_type; in crypto_ctxsize()
718 if (alg->cra_type && alg->cra_type->destroy) in crypto_destroy_alg()
719 alg->cra_type->destroy(alg); in crypto_destroy_alg()
H A Dcrypto_user.c115 if (alg->cra_type && alg->cra_type->report) { in crypto_report_one()
116 if (alg->cra_type->report(skb, alg)) in crypto_report_one()
H A Dkpp.c109 base->cra_type = &crypto_kpp_type; in kpp_prepare_alg()
H A Dsig.c130 base->cra_type = &crypto_sig_type; in sig_prepare_alg()
H A Dahash.c724 if (tfm->__crt_alg->cra_type == &crypto_shash_type) in crypto_ahash_init_tfm()
776 if (alg->cra_type == &crypto_shash_type) in crypto_ahash_extsize()
858 if (alg->cra_type == &crypto_shash_type) in crypto_hash_alg_has_setkey()
968 base->cra_type = &crypto_ahash_type; in ahash_prepare_alg()
H A Drng.c182 base->cra_type = &crypto_rng_type; in crypto_register_rng()
H A Dakcipher.c121 base->cra_type = &crypto_akcipher_type; in akcipher_prepare_alg()
H A Daead.c243 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
H A Dshash.c473 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
H A Dlskcipher.c356 base->cra_type = &crypto_lskcipher_type; in lskcipher_prepare_alg()
/linux/include/linux/
H A Dcrypto.h348 const struct crypto_type *cra_type; member
/linux/Documentation/crypto/
H A Ddevel-algos.rst61 crypto_alg field .cra_type is empty. The .cra_u.cipher has to be