mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
crypto: drivers - Correct multiple typos in comments
Fixed some confusing spelling errors, the details are as follows: -in the code comments: fininishing -> finishing commad -> command intrepretation -> interpretation inuput -> input overfloa -> overflow Iniialize -> Initialize Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
f05ddb80b3
commit
98091a8268
@ -872,7 +872,7 @@ static void atmel_tdes_done_task(unsigned long data)
|
|||||||
if (!err)
|
if (!err)
|
||||||
err = atmel_tdes_crypt_start(dd);
|
err = atmel_tdes_crypt_start(dd);
|
||||||
if (!err)
|
if (!err)
|
||||||
return; /* DMA started. Not fininishing. */
|
return; /* DMA started. Not finishing. */
|
||||||
}
|
}
|
||||||
|
|
||||||
atmel_tdes_finish_req(dd, err);
|
atmel_tdes_finish_req(dd, err);
|
||||||
|
@ -238,7 +238,7 @@ static int send_cpt_command(struct cpt_vf *cptvf, union cpt_inst_s *cmd,
|
|||||||
|
|
||||||
qinfo = &cptvf->cqinfo;
|
qinfo = &cptvf->cqinfo;
|
||||||
queue = &qinfo->queue[qno];
|
queue = &qinfo->queue[qno];
|
||||||
/* lock commad queue */
|
/* lock command queue */
|
||||||
spin_lock(&queue->lock);
|
spin_lock(&queue->lock);
|
||||||
ent = &queue->qhead->head[queue->idx * qinfo->cmd_size];
|
ent = &queue->qhead->head[queue->idx * qinfo->cmd_size];
|
||||||
memcpy(ent, (void *)cmd, qinfo->cmd_size);
|
memcpy(ent, (void *)cmd, qinfo->cmd_size);
|
||||||
@ -510,7 +510,7 @@ int process_request(struct cpt_vf *cptvf, struct cpt_request_info *req)
|
|||||||
info->time_in = jiffies;
|
info->time_in = jiffies;
|
||||||
info->req = req;
|
info->req = req;
|
||||||
|
|
||||||
/* Create the CPT_INST_S type command for HW intrepretation */
|
/* Create the CPT_INST_S type command for HW interpretation */
|
||||||
cptinst.s.doneint = true;
|
cptinst.s.doneint = true;
|
||||||
cptinst.s.res_addr = (u64)info->comp_baddr;
|
cptinst.s.res_addr = (u64)info->comp_baddr;
|
||||||
cptinst.s.tag = 0;
|
cptinst.s.tag = 0;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#define CRYPTO_CTX_SIZE 256
|
#define CRYPTO_CTX_SIZE 256
|
||||||
|
|
||||||
/* packet inuput ring alignments */
|
/* packet input ring alignments */
|
||||||
#define PKTIN_Q_ALIGN_BYTES 16
|
#define PKTIN_Q_ALIGN_BYTES 16
|
||||||
/* AQM Queue input alignments */
|
/* AQM Queue input alignments */
|
||||||
#define AQM_Q_ALIGN_BYTES 32
|
#define AQM_Q_ALIGN_BYTES 32
|
||||||
|
@ -1186,7 +1186,7 @@ static int chcr_handle_cipher_resp(struct skcipher_request *req,
|
|||||||
else
|
else
|
||||||
bytes = rounddown(bytes, 16);
|
bytes = rounddown(bytes, 16);
|
||||||
} else {
|
} else {
|
||||||
/*CTR mode counter overfloa*/
|
/*CTR mode counter overflow*/
|
||||||
bytes = req->cryptlen - reqctx->processed;
|
bytes = req->cryptlen - reqctx->processed;
|
||||||
}
|
}
|
||||||
err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv);
|
err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv);
|
||||||
|
@ -574,7 +574,7 @@ static int sa_format_cmdl_gen(struct sa_cmdl_cfg *cfg, u8 *cmdl,
|
|||||||
/* Clear the command label */
|
/* Clear the command label */
|
||||||
memzero_explicit(cmdl, (SA_MAX_CMDL_WORDS * sizeof(u32)));
|
memzero_explicit(cmdl, (SA_MAX_CMDL_WORDS * sizeof(u32)));
|
||||||
|
|
||||||
/* Iniialize the command update structure */
|
/* Initialize the command update structure */
|
||||||
memzero_explicit(upd_info, sizeof(*upd_info));
|
memzero_explicit(upd_info, sizeof(*upd_info));
|
||||||
|
|
||||||
if (cfg->enc_eng_id && cfg->auth_eng_id) {
|
if (cfg->enc_eng_id && cfg->auth_eng_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user