DM-Crypt Archive mirror
 help / color / mirror / Atom feed
From: "EXTERNAL D Sharmila (Iwave, RBEI/PAC-PF)" <external.Sharmila.D@in.bosch.com>
To: "dm-crypt@saout.de" <dm-crypt@saout.de>
Subject: [dm-crypt] IV generation in dm-crypt using dmsetup
Date: Tue, 28 Jan 2020 03:37:38 +0000	[thread overview]
Message-ID: <afabf95c39f18ca62d7c453755e438ba42b76322.camel@bosch.com> (raw)

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


                 reply	other threads:[~2020-01-28  3:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afabf95c39f18ca62d7c453755e438ba42b76322.camel@bosch.com \
    --to=external.sharmila.d@in.bosch.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).