cryptsetup.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Question] Distinction responsibilities LUKS and dm-crypt
@ 2022-03-31 18:21 Surmont Jasper
  2022-03-31 18:29 ` Christoph Anton Mitterer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Surmont Jasper @ 2022-03-31 18:21 UTC (permalink / raw)
  To: cryptsetup

Dear, keep in mind I’m fairly new to Linux kernel development and
similar, so my question might sound stupid. 
 
Reading through the documentation of both dm-crypt and LUKS, 
I understand that LUKS is a format specification 
to allow FDE, and that dm-crypt is a dm target which allows
encryption / decryption of writes / reads to the block device. 

However, I'm unsure about
what each of these now exactly provides (ie what are the responsibilities). In
the slides  (look link at the bottom) that the author (Milan Broz) made,
it mentions that LUKS2 can also provide integrity protection (hence making the
encryption authenticated). From this, and also reading the Luks1 specification
I think this is not possible in LUKS1. However, later in the slides it talks
how dm-crypt allows for authenticated encryption. This is where I'm confused;
do we assume we use LUKS2? 

I feel like I'm not really grasping the main function and responsibilities of both LUKS and dm-crypt. 
Thanks! 
 
Slides: https://archive.fosdem.org/2018/schedule/event/cryptsetup/attachments/slides/2506/export/events/attachments/cryptsetup/slides/2506/fosdem18_cryptsetup_aead.pdf 
 
Sincerely, Jasper Surmont  

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

end of thread, other threads:[~2022-04-01  8:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 18:21 [Question] Distinction responsibilities LUKS and dm-crypt Surmont Jasper
2022-03-31 18:29 ` Christoph Anton Mitterer
     [not found]   ` <PR3P192MB10874E4159B71C71097583B4F1E19@PR3P192MB1087.EURP192.PROD.OUTLOOK.COM>
2022-03-31 19:32     ` Christoph Anton Mitterer
2022-04-01  8:45       ` Michael Kjörling
2022-03-31 18:52 ` Arno Wagner
2022-03-31 18:58 ` Michael Kjörling

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).