Fix typos.

This commit is contained in:
Andrea Gelmini
2017-11-05 16:40:11 +01:00
committed by Milan Broz
parent 444eac3597
commit a97de38b6b
36 changed files with 79 additions and 79 deletions

View File

@@ -350,7 +350,7 @@ static int TCRYPT_decrypt_hdr_one(struct tcrypt_alg *alg, const char *mode,
}
/*
* For chanined ciphers and CBC mode we need "outer" decryption.
* For chained ciphers and CBC mode we need "outer" decryption.
* Backend doesn't provide this, so implement it here directly using ECB.
*/
static int TCRYPT_decrypt_cbci(struct tcrypt_algs *ciphers,
@@ -775,7 +775,7 @@ int TCRYPT_activate(struct crypt_device *cd,
return r;
}
/* Frome here, key size for every cipher must be the same */
/* From here, key size for every cipher must be the same */
dmd.u.crypt.vk = crypt_alloc_volume_key(algs->cipher[0].key_size +
algs->cipher[0].key_extra_size, NULL);
if (!dmd.u.crypt.vk) {