Lines Matching defs:engine
24 #include <crypto/engine.h>
172 struct crypto_engine *engine;
809 crypto_finalize_hash_request(hdev->engine, req, err);
828 static int stm32_hash_one_request(struct crypto_engine *engine, void *areq);
829 static int stm32_hash_prepare_req(struct crypto_engine *engine, void *areq);
834 return crypto_transfer_hash_request_to_engine(hdev->engine, req);
837 static int stm32_hash_prepare_req(struct crypto_engine *engine, void *areq)
858 static int stm32_hash_one_request(struct crypto_engine *engine, void *areq)
1515 /* Initialize crypto engine */
1516 hdev->engine = crypto_engine_alloc_init(dev, 1);
1517 if (!hdev->engine) {
1522 ret = crypto_engine_start(hdev->engine);
1542 crypto_engine_exit(hdev->engine);
1572 crypto_engine_exit(hdev->engine);