[lkml]   [2005]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH encrypted swsusp 1/3] core functionality
> > The following patch adds the core functionality for the encrypted
> > suspend image.
> [Please inline patches, it makes it easier to comment on them.]
> You seem to reuse same key/iv for all the blocks. I'm no crypto
> expert, but I think that is seriously wrong... You probably should use
> block number as a IV or something like that.

Or use a feedback loop: xor your data with the outcome of the previous
round. And for the initial block use 0x00...00 for 'previous block'-

Folkert van Heusden

Auto te koop, zie:
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden.
UNIX admin? Then give MultiTail (
a try, it brings monitoring logfiles to a different level! See for a feature-list.
Phone: +31-6-41278122, PGP-key: 1F28D8AE
Get your PGP/GPG key signed at!
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-04-11 12:40    [W:0.101 / U:1.640 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site