Lines Matching refs:cc_req
283 static void cc_update_complete(struct device *dev, void *cc_req, int err) in cc_update_complete() argument
285 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_update_complete()
301 static void cc_digest_complete(struct device *dev, void *cc_req, int err) in cc_digest_complete() argument
303 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_digest_complete()
321 static void cc_hash_complete(struct device *dev, void *cc_req, int err) in cc_hash_complete() argument
323 struct ahash_request *req = (struct ahash_request *)cc_req; in cc_hash_complete()
429 struct cc_crypto_req cc_req = {}; in cc_hash_digest() local
461 cc_req.user_cb = cc_digest_complete; in cc_hash_digest()
462 cc_req.user_arg = req; in cc_hash_digest()
519 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_hash_digest()
565 struct cc_crypto_req cc_req = {}; in cc_hash_update() local
599 cc_req.user_cb = cc_update_complete; in cc_hash_update()
600 cc_req.user_arg = req; in cc_hash_update()
623 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_hash_update()
643 struct cc_crypto_req cc_req = {}; in cc_do_finup() local
671 cc_req.user_cb = cc_hash_complete; in cc_do_finup()
672 cc_req.user_arg = req; in cc_do_finup()
691 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_do_finup()
730 struct cc_crypto_req cc_req = {}; in cc_hash_setkey() local
849 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx); in cc_hash_setkey()
906 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx); in cc_hash_setkey()
924 struct cc_crypto_req cc_req = {}; in cc_xcbc_setkey() local
995 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, idx); in cc_xcbc_setkey()
1157 struct cc_crypto_req cc_req = {}; in cc_mac_update() local
1206 cc_req.user_cb = cc_update_complete; in cc_mac_update()
1207 cc_req.user_arg = req; in cc_mac_update()
1209 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_mac_update()
1224 struct cc_crypto_req cc_req = {}; in cc_mac_final() local
1264 cc_req.user_cb = cc_hash_complete; in cc_mac_final()
1265 cc_req.user_arg = req; in cc_mac_final()
1329 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_mac_final()
1345 struct cc_crypto_req cc_req = {}; in cc_mac_finup() local
1378 cc_req.user_cb = cc_hash_complete; in cc_mac_finup()
1379 cc_req.user_arg = req; in cc_mac_finup()
1410 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_mac_finup()
1427 struct cc_crypto_req cc_req = {}; in cc_mac_digest() local
1456 cc_req.user_cb = cc_digest_complete; in cc_mac_digest()
1457 cc_req.user_arg = req; in cc_mac_digest()
1489 rc = cc_send_request(ctx->drvdata, &cc_req, desc, idx, &req->base); in cc_mac_digest()