Re: iv generation from third-party code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 07, 2015 at 11:36:49 CEST, Fraser Scott wrote:
> On 7 May 2015 at 10:29, Arno Wagner <arno@xxxxxxxxxxx> wrote:
[...] 
> Yeah. I've got some limitations as to where I can keep a 400GB file, so for
> now I'll just work with a hundred meg or so. Once I can strings that to get
> what looks like a file system, I'll apply the code to the whole image.

Just get a 1TB or larger external USB disk. They are not expensive.
And probably a lot cheaper than your wive's wrath of you accidentally
kill the original disk. Firts rule of all data-recovery: Never work
on the original, always on a copy. And if the data has any worth,
make two backups and only work on one.
 
> Just one remark: Your terminology seems to be off, as ECB does not
> > have an IV. I suggets using the formula from Wikipedia directly and
> > to forget about "IV"s.
> >
> 
> What I meant was I was using openssl's AES in ECB mode as a building block
> for doing LRW myself. So I was doing something like E_k(tweak(IV, sector))
> ^ tweak(IV, sector) with ECB providing E_k.

Ok. The thing is though that "ECB" is a "mode" while E_k is 
one elementary encryption op. ECB means encryting b0,b1,b2 as 
E_k(b0),E_k(b1),E_k(b2). For just one block, they are the same, 
but the term "mode" does not make sense for just one block.

Not trying to be a smart-ass, but people will understand you 
better with the right terminology.

Arno
-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@xxxxxxxxxxx
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux