Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1572515 > unrolled thread
| Started by | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| First post | 2017-02-02 18:00 +0100 |
| Last post | 2017-02-02 18:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2] ext4: move halfmd4 into hash.c directly Theodore Ts'o <tytso@mit.edu> - 2017-02-02 18:00 +0100
| From | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| Date | 2017-02-02 18:00 +0100 |
| Subject | Re: [PATCH v2] ext4: move halfmd4 into hash.c directly |
| Message-ID | <t6sTL-6vB-1@gated-at.bofh.it> |
On Tue, Jan 10, 2017 at 01:07:01AM +0100, Jason A. Donenfeld wrote: > The "half md4" transform should not be used by any new code. And > fortunately, it's only used now by ext4. Since ext4 supports several > hashing methods, at some point it might be desirable to move to > something like SipHash. As an intermediate step, remove half md4 from > cryptohash.h and lib, and make it just a local function in ext4's > hash.c. There's precedent for doing this; the other function ext can use > for its hashes -- TEA -- is also implemented in the same place. Also, by > being a local function, this might allow gcc to perform some additional > optimizations. > > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> > Reviewed-by: Andreas Dilger <adilger@dilger.ca> > Cc: Theodore Ts'o <tytso@mit.edu> Thanks, applied. - Ted
Back to top | Article view | linux.kernel
csiph-web