Lines Matching defs:engine
9 #include <crypto/engine.h>
181 struct crypto_engine *engine;
814 crypto_finalize_aead_request(cryp->engine, cryp->areq, err);
816 crypto_finalize_skcipher_request(cryp->engine, cryp->req,
828 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq);
837 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq);
858 return crypto_transfer_skcipher_request_to_engine(cryp->engine, req);
872 return crypto_transfer_aead_request_to_engine(cryp->engine, req);
1234 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq)
1250 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq)
2037 /* Initialize crypto engine */
2038 cryp->engine = crypto_engine_alloc_init(dev, 1);
2039 if (!cryp->engine) {
2040 dev_err(dev, "Could not init crypto engine\n");
2045 ret = crypto_engine_start(cryp->engine);
2047 dev_err(dev, "Could not start crypto engine\n");
2073 crypto_engine_exit(cryp->engine);
2098 crypto_engine_exit(cryp->engine);