dm-crypt.saout.de archive mirror
 help / color / mirror / Atom feed
* [dm-crypt] the library and the binary do not agree on the cipher mode a truecrypt volume is created with
@ 2013-02-19  8:32 .. ink ..
  2013-02-19  8:58 ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: .. ink .. @ 2013-02-19  8:32 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Output from the binary is below:
[root@mtz ink]# cryptsetup status /dev/mapper/ttt
/dev/mapper/ttt is active.
  type:    TCRYPT
  cipher:  serpent-xts-plain64
  keysize: 512 bits
  device:  /dev/loop4
  loop:    /home/ink/ttt
  offset:  256 sectors
  size:    30208 sectors
  skipped: 256 sectors
  mode:    read/write

Output from the library is below
[root@mtz ink]# ./rrr /dev/mapper/ttt
cipher: xts-plain64
[root@mtz ink]#

The source code for the "rrr" program is at: http://pastebin.com/CdG7KAuE

[-- Attachment #2: Type: text/html, Size: 639 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dm-crypt] the library and the binary do not agree on the cipher mode a truecrypt volume is created with
  2013-02-19  8:32 [dm-crypt] the library and the binary do not agree on the cipher mode a truecrypt volume is created with .. ink ..
@ 2013-02-19  8:58 ` Milan Broz
  2013-03-17 18:55   ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: Milan Broz @ 2013-02-19  8:58 UTC (permalink / raw)
  To: .. ink ..; +Cc: dm-crypt


On 19.2.2013 9:32, .. ink .. wrote:
> The source code for the "rrr" program is at: http://pastebin.com/CdG7KAuE

Thanks, I will check that.

Just please can you make there reports through issues page
http://code.google.com/p/cryptsetup/issues/list
and attach all test programs there?
(Not for this one but for future...)

This way it will be archived together and I can better trace it there.
(Also you will see link to resolution/fix commit immediatelly once it is fixed.)

Thanks,
Milan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dm-crypt] the library and the binary do not agree on the cipher mode a truecrypt volume is created with
  2013-02-19  8:58 ` Milan Broz
@ 2013-03-17 18:55   ` Milan Broz
  0 siblings, 0 replies; 3+ messages in thread
From: Milan Broz @ 2013-03-17 18:55 UTC (permalink / raw)
  To: .. ink ..; +Cc: dm-crypt


On 19.2.2013 9:58, Milan Broz wrote:
>
> On 19.2.2013 9:32, .. ink .. wrote:
>> The source code for the "rrr" program is at: http://pastebin.com/CdG7KAuE

Just for the archive - this is not a bug, it correctly returns encryption
mode + IV generator.
See explanation and your fixed code sample here
http://code.google.com/p/cryptsetup/issues/detail?id=148#c1

Thanks,
Milan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-17 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-19  8:32 [dm-crypt] the library and the binary do not agree on the cipher mode a truecrypt volume is created with .. ink ..
2013-02-19  8:58 ` Milan Broz
2013-03-17 18:55   ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).