Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08c2addf authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Greg Kroah-Hartman
Browse files

staging: ccree: func params should follow func name



Fix some call sites with func params not following func name in AEAD
code.

Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d58b69dd
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -1226,8 +1226,9 @@ static void cc_hmac_authenc(struct aead_request *req, struct cc_hw_desc desc[],
	struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm);
	struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm);
	struct aead_req_ctx *req_ctx = aead_request_ctx(req);
	struct aead_req_ctx *req_ctx = aead_request_ctx(req);
	int direct = req_ctx->gen_ctx.op_type;
	int direct = req_ctx->gen_ctx.op_type;
	unsigned int data_flow_mode = cc_get_data_flow(
	unsigned int data_flow_mode =
		direct, ctx->flow_mode, req_ctx->is_single_pass);
		cc_get_data_flow(direct, ctx->flow_mode,
				 req_ctx->is_single_pass);


	if (req_ctx->is_single_pass) {
	if (req_ctx->is_single_pass) {
		/**
		/**
@@ -1278,8 +1279,9 @@ cc_xcbc_authenc(struct aead_request *req, struct cc_hw_desc desc[],
	struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm);
	struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm);
	struct aead_req_ctx *req_ctx = aead_request_ctx(req);
	struct aead_req_ctx *req_ctx = aead_request_ctx(req);
	int direct = req_ctx->gen_ctx.op_type;
	int direct = req_ctx->gen_ctx.op_type;
	unsigned int data_flow_mode = cc_get_data_flow(
	unsigned int data_flow_mode =
		direct, ctx->flow_mode, req_ctx->is_single_pass);
		cc_get_data_flow(direct, ctx->flow_mode,
				 req_ctx->is_single_pass);


	if (req_ctx->is_single_pass) {
	if (req_ctx->is_single_pass) {
		/**
		/**