Ingo Rohloff wrote: >> There is a paper about why it is a bad idea to use >> sequence numbers for CBC IV's. I just have to find the reference to it. > >Does this mean sequence as in 0,1,2,3,4 ... or does this mean >any pre-calculate-able sequence ? In the former case we might just use >a simple one way hash-function over the requested sector number. It just means that 0,1,2,3,... is bad. Using SHA1(sector #) should be ok. But do think carefully about what happens when you modify a sector!! In particular, will you be re-using the old IV when you write the new data? That could be problematic. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- A patch to loop.c for better cryption support Ingo Rohloff
- Re: A patch to loop.c for better cryption support Marc Mutz
- Re: A patch to loop.c for better cryption support Marc Mutz
- Re: A patch to loop.c for better cryption suppor... Ingo Rohloff
- Re: A patch to loop.c for better cryption su... Marc Mutz
- Re: A patch to loop.c for better crypti... Ingo Rohloff
- Re: A patch to loop.c for better cr... David Wagner
- Re: A patch to loop.c for better crypti... Ingo Rohloff
- Re: A patch to loop.c for better cryption su... David Wagner
- Re: A patch to loop.c for better cryption support Ingo Rohloff
- Re: A patch to loop.c for better cryption support Andi Kleen
- Re: A patch to loop.c for better cryption suppor... Ian Stirling
- Re: A patch to loop.c for better cryption suppor... Marc Mutz
- Re: A patch to loop.c for better cryption su... Andi Kleen
- Re: A patch to loop.c for better crypti... Marc Mutz
- Re: A patch to loop.c for better cr... Andi Kleen
- Re: A patch to loop.c for bette... Marc Mutz
- Re: A patch to loop.c for bette... Ingo Rohloff