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);
*/
/*
- * 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
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);