Fix typos.
authorMilan Broz <gmazyland@gmail.com>
Tue, 5 Apr 2011 18:45:28 +0000 (18:45 +0000)
committerMilan Broz <gmazyland@gmail.com>
Tue, 5 Apr 2011 18:45:28 +0000 (18:45 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@491 36d66b0a-2a48-0410-832c-cd162a569da5

lib/luks1/af.c
lib/luks1/af.h
lib/luks1/keymanage.c

index 0cb0dfe..f0c1e16 100644 (file)
@@ -50,10 +50,10 @@ static int hash_buf(const char *src, char *dst, uint32_t iv,
 
        if ((r = crypt_hash_write(hd, iv_char, sizeof(uint32_t))))
                goto out;
-       
+
        if ((r = crypt_hash_write(hd, src, len)))
                goto out;
-       
+
        r = crypt_hash_final(hd, dst, len);
 out:
        crypt_hash_destroy(hd);
index 78f978c..c6cc8eb 100644 (file)
@@ -7,9 +7,9 @@
  */
 
 /*
- * AF_split operates on src and produces information splitted data in
+ * AF_split operates on src and produces information split data in
  * dst. src is assumed to be of the length blocksize. The data stripe
- * dst points to must be captable of storing blocksize*blocknumbers.
+ * dst points to must be capable of storing blocksize*blocknumbers.
  * blocknumbers is the data multiplication factor.
  *
  * AF_merge does just the opposite: reproduces the information stored in
index af957d3..31fea77 100644 (file)
@@ -572,7 +572,7 @@ int LUKS_set_key(const char *device, unsigned int keyIndex,
                goto out;
 
        /*
-        * AF splitting, the masterkey stored in vk->key is splitted to AfMK
+        * AF splitting, the masterkey stored in vk->key is split to AfKey
         */
        AFEKSize = hdr->keyblock[keyIndex].stripes*vk->keylength;
        AfKey = crypt_safe_alloc(AFEKSize);