public inbox for dm-crypt@saout.de
 help / color / mirror / Atom feed
* [dm-crypt] IV generation for dm-crypt
@ 2020-01-29  8:18 EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)
  2020-01-29  9:48 ` Milan Broz
  0 siblings, 1 reply; 5+ messages in thread
From: EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF) @ 2020-01-29  8:18 UTC (permalink / raw)
  To: dm-crypt@saout.de

Hi team,
        I am able to successfully encrypt custom device physical
partition using dmsetup utility. I have used dm-crypt and dm-integrity
for the same. I have one query related to IV generation of dm-crypt.

Query:
        Whether Random number generator used to generate IV, generates
same IV repeatedly or unique IV will be generated ? How the IV
generation handled in dm-crypt ?

The commands I used to create dm-integrity and dm-crypt is as below

dmsetup create test-integrity --table '0 14240 integrity /dev/mmcblk0p5
0 32 J 1
internal_hash:hmac(sha256):30313233343536373839414243444546303132333435
36373839414243444546' 

dmsetup create test-integrity-crypt --table '0 14240 crypt aes-cbc-
essiv:sha256 :32:user:test-key 0 /dev/mapper/test-integrity 0'


Please give your valuable response for the above query. 

Regards,
Sharmila

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

end of thread, other threads:[~2020-01-29 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29  8:18 [dm-crypt] IV generation for dm-crypt EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)
2020-01-29  9:48 ` Milan Broz
2020-01-29 10:28   ` EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)
2020-01-29 10:39     ` Milan Broz
2020-01-29 10:36   ` [dm-crypt] Data corruption of encrypted partition EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox