aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorRik Snel <rsnel@cube.dyndns.org>2006-09-02 04:17:33 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-20 21:46:27 -0400
commit3c164bd8153c4644a22dc2101b003c67cd2a0d0a (patch)
treec6b3f7a3d0f2d3850ce1c8c7e040053f548ebe9b /drivers/md/dm-crypt.c
parent3ad819c61f5f8347f39cdcbe652b3c60ec615888 (diff)
[BLOCK] dm-crypt: trivial comment improvements
Just some minor comment nits. - little-endian is better than low-endian - and since it is called essiv everywere it should also be essiv in the comments (and not ess_iv) Signed-off-by: Rik Snel <rsnel@cube.dyndns.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r--drivers/md/dm-crypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index 73f8be837a45..bdbd34993a80 100644
--- a/drivers/md/dm-crypt.c
+++ b/drivers/md/dm-crypt.c
@@ -99,12 +99,12 @@ static kmem_cache_t *_crypt_io_pool;
99/* 99/*
100 * Different IV generation algorithms: 100 * Different IV generation algorithms:
101 * 101 *
102 * plain: the initial vector is the 32-bit low-endian version of the sector 102 * plain: the initial vector is the 32-bit little-endian version of the sector
103 * number, padded with zeros if neccessary. 103 * number, padded with zeros if neccessary.
104 * 104 *
105 * ess_iv: "encrypted sector|salt initial vector", the sector number is 105 * essiv: "encrypted sector|salt initial vector", the sector number is
106 * encrypted with the bulk cipher using a salt as key. The salt 106 * encrypted with the bulk cipher using a salt as key. The salt
107 * should be derived from the bulk cipher's key via hashing. 107 * should be derived from the bulk cipher's key via hashing.
108 * 108 *
109 * plumb: unimplemented, see: 109 * plumb: unimplemented, see:
110 * http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/454 110 * http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/454