mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
crypto: ccree - Fix typo in comment
Corrected typos in comment: Asynchronize->Asynchronous, encryped->encrypted, decryped->decrypted, fallabck->fallback. Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -2226,7 +2226,7 @@ static int cc_rfc4543_gcm_encrypt(struct aead_request *req)
|
||||
|
||||
memset(areq_ctx, 0, sizeof(*areq_ctx));
|
||||
|
||||
//plaintext is not encryped with rfc4543
|
||||
//plaintext is not encrypted with rfc4543
|
||||
areq_ctx->plaintext_authenticate_only = true;
|
||||
|
||||
/* No generated IV required */
|
||||
@@ -2277,7 +2277,7 @@ static int cc_rfc4543_gcm_decrypt(struct aead_request *req)
|
||||
|
||||
memset(areq_ctx, 0, sizeof(*areq_ctx));
|
||||
|
||||
//plaintext is not decryped with rfc4543
|
||||
//plaintext is not decrypted with rfc4543
|
||||
areq_ctx->plaintext_authenticate_only = true;
|
||||
|
||||
/* No generated IV required */
|
||||
|
||||
@@ -179,7 +179,7 @@ static int cc_cipher_init(struct crypto_tfm *tfm)
|
||||
}
|
||||
max_key_buf_size <<= 1;
|
||||
|
||||
/* Alloc fallabck tfm or essiv when key size != 256 bit */
|
||||
/* Alloc fallback tfm or essiv when key size != 256 bit */
|
||||
ctx_p->fallback_tfm =
|
||||
crypto_alloc_skcipher(name, 0, CRYPTO_ALG_NEED_FALLBACK | CRYPTO_ALG_ASYNC);
|
||||
|
||||
|
||||
@@ -1577,7 +1577,7 @@ struct cc_hash_template {
|
||||
|
||||
/* hash descriptors */
|
||||
static struct cc_hash_template driver_hash[] = {
|
||||
//Asynchronize hash template
|
||||
//Asynchronous hash template
|
||||
{
|
||||
.name = "sha1",
|
||||
.driver_name = "sha1-ccree",
|
||||
|
||||
Reference in New Issue
Block a user