Searched refs:alg_type (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/crypto/caam/
H A Dcaamhash.c113 u32 alg_type; member in struct:caam_hash_ctx
332 append_operation(desc, ctx->alg_type | OP_ALG_AS_UPDATE | ahash_set_sh_desc()
353 ahash_data_to_out(desc, have_key | ctx->alg_type, OP_ALG_AS_INIT, ahash_set_sh_desc()
372 ahash_ctx_data_to_out(desc, have_key | ctx->alg_type, ahash_set_sh_desc()
390 ahash_ctx_data_to_out(desc, have_key | ctx->alg_type, ahash_set_sh_desc()
408 ahash_data_to_out(desc, have_key | ctx->alg_type, OP_ALG_AS_INITFINAL, ahash_set_sh_desc()
471 append_operation(desc, ctx->alg_type | OP_ALG_ENCRYPT | hash_digest_key()
1606 u32 alg_type; member in struct:caam_hash_template
1631 .alg_type = OP_ALG_ALGSEL_SHA1,
1652 .alg_type = OP_ALG_ALGSEL_SHA224,
1673 .alg_type = OP_ALG_ALGSEL_SHA256,
1694 .alg_type = OP_ALG_ALGSEL_SHA384,
1715 .alg_type = OP_ALG_ALGSEL_SHA512,
1736 .alg_type = OP_ALG_ALGSEL_MD5,
1743 int alg_type; member in struct:caam_hash_alg
1778 ctx->alg_type = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; caam_hash_cra_init()
1876 t_alg->alg_type = template->alg_type; caam_hash_alloc()
/linux-4.1.27/drivers/crypto/
H A Dpicoxcell_crypto.c566 static int spacc_aead_do_fallback(struct aead_request *req, unsigned alg_type, spacc_aead_do_fallback() argument
682 unsigned alg_type, bool is_encrypt) spacc_aead_setup()
700 return spacc_aead_do_fallback(req, alg_type, is_encrypt); spacc_aead_setup()
977 unsigned alg_type, bool is_encrypt) spacc_ablk_do_fallback()
1000 static int spacc_ablk_setup(struct ablkcipher_request *req, unsigned alg_type, spacc_ablk_setup() argument
1016 return spacc_ablk_do_fallback(req, alg_type, is_encrypt); spacc_ablk_setup()
681 spacc_aead_setup(struct aead_request *req, u8 *giv, unsigned alg_type, bool is_encrypt) spacc_aead_setup() argument
976 spacc_ablk_do_fallback(struct ablkcipher_request *req, unsigned alg_type, bool is_encrypt) spacc_ablk_do_fallback() argument

Completed in 112 milliseconds