Maximum useful size of keyfile

V V <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <CAB-V1p6S22T_K6jVEU6WfgCCLW2eBAwVo81-nQQnCZ3kFdogSA@mail.gmail.com>
What is the maximum useful size of a keyfile with respect to the --cipher
and --key-size parameters?

For example, with `--cipher aes-xts-plain64 --key-size 512` is there any
advantage, be it security or otherwise, of using a keyfile which is larger
than 512 bits (64 bytes)?

The context of this question is that I am creating an encrypted disk that
will only be unlocked with keyfiles. I noticed that `cryptsetup --help`
gives a maximum keyfile size of 8192kB which is quite large in comparison
to the key size. I did not find the answer in the FAQ.

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.