Lines Matching defs:engine
12 #include <crypto/engine.h>
80 * @engine: Crypto engine for the device
88 struct crypto_engine *engine;
149 /* Direct write of u32 buffer to ECC engine with associated instruction. */
242 /* Wait engine to be idle before starting new operation. */
315 /* Wait engine to be idle before starting new operation. */
335 /* Give instruction A.B or A+B to ECC engine. */
705 static int kmb_ocs_ecc_do_one_request(struct crypto_engine *engine,
718 crypto_finalize_kpp_request(ecc_dev->engine, req, rc);
744 return crypto_transfer_kpp_request_to_engine(tctx->ecc_dev->engine,
772 return crypto_transfer_kpp_request_to_engine(tctx->ecc_dev->engine,
922 /* Initialize crypto engine. */
923 ecc_dev->engine = crypto_engine_alloc_init(dev, 1);
924 if (!ecc_dev->engine) {
925 dev_err(dev, "Could not allocate crypto engine\n");
930 rc = crypto_engine_start(ecc_dev->engine);
932 dev_err(dev, "Could not start crypto engine\n");
957 crypto_engine_exit(ecc_dev->engine);
980 crypto_engine_exit(ecc_dev->engine);