DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Two questions about LUKS2 format
@ 2017-12-29 16:41 Geo Kozey
  2017-12-29 17:10 ` Milan Broz
  2017-12-29 20:45 ` Arno Wagner
  0 siblings, 2 replies; 4+ messages in thread
From: Geo Kozey @ 2017-12-29 16:41 UTC (permalink / raw)
  To: dm-crypt

1. When creating new container with experimental ciphers, i.e. chacha20, the output of luksDump shows:

Data segments:
  0: crypt
        offset: 4194304 [bytes]
        length: (whole device)
        cipher: chacha20-random
        sector: 512 [bytes]
        integrity: poly1305

Keyslots:
  0: luks2
        Key:        256 bits
        Priority:   normal
        Cipher:     aes-xts-plain64
        PBKDF:      argon2i
        Time cost:  4

Why "Cipher: aes-xts-plain64" is shown under Keyslots metadata and is different than "cipher: chacha20-random" from Data segments?

2. What happens when we create new luks container with argon2 as PBKDF under system with huge amount of RAM then try opening it under system with much lower amount (so memory cost will be higher than physical memory available)? Will it open but slower or will it fail?

Thanks in advance for any answers.

Yours sincerely

G. K.

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

end of thread, other threads:[~2017-12-29 20:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29 16:41 [dm-crypt] Two questions about LUKS2 format Geo Kozey
2017-12-29 17:10 ` Milan Broz
2017-12-29 20:47   ` Arno Wagner
2017-12-29 20:45 ` Arno Wagner

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