mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question on ext4 directory hashes in combination with file name encryption
@ 2016-09-30 14:09 Richard Weinberger
  2016-09-30 20:20 ` Andreas Dilger
  2016-09-30 22:05 ` Theodore Ts'o
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Weinberger @ 2016-09-30 14:09 UTC (permalink / raw)
  To: linux-ext4, linux-fsdevel, linux-kernel
  Cc: Theodore Ts'o, Eric Biggers, David Gstir

Hi,

if I read the ext4 code correctly, you pass encrypted filenames to ext4fs_dirhash().
These filenames are not encoded and therefore binary gibberish.
Isn't this a problem for the ext4 hash functions? My fear is that these hashes are optimized
for ASCII strings and produce more collisions when binary data is used as input.

Thanks,
//richard

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

end of thread, other threads:[~2016-10-01  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 14:09 Question on ext4 directory hashes in combination with file name encryption Richard Weinberger
2016-09-30 20:20 ` Andreas Dilger
2016-09-30 22:05 ` Theodore Ts'o

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

all inboxes | Powered by JetHome®