[Cryptography] Best way to create a MAC from SHA3 Crypto
I am just finishing off the UDF draft. What is the best way to create a MAC from a SHA3 digest function? For this application I need a 512 bit output so no need to SHAKE. HMAC is an obvious choice but it was designed to overcome the limitations of Merkle Damgard construction. Is there a more appropriate, spongeworthy choice? _______________________________________________ The cryptography mailing list cryptography@metzdowd.com http://www.metzdowd.com/mailman/listinfo/cryptography
> On Feb 22, 2019, at 12:10 PM, Phillip Hallam-Baker <phill@hallambaker.com> wrote: > > I am just finishing off the UDF draft. > > What is the best way to create a MAC from a SHA3 digest function? For this application I need a 512 bit output so no need to SHAKE. > > HMAC is an obvious choice but it was designed to overcome the limitations of Merkle Damgard construction. Is there a more appropriate, spongeworthy choice? Each of the SHA3 finalists had as a feature that a keyed hash is as good as a MAC. Keccak and Skein explicitly had one-pass MACs in them. Keccak’s one-pass MAC evolved into SHAKE and I’m not an expert on where else it might be around. Thus, I first ask, “Oh, really? SHAKE is too much?” then agree with you that HMAC is overkill (I mean, if you don’t want to use SHAKE, you really don’t want to HMAC), and observe that a keyed hash is pretty likely good enough, and I bet you can get a proof of security for it, even if the proof is a hand wave. Jon _______________________________________________ The cryptography mailing list cryptography@metzdowd.com http://www.metzdowd.com/mailman/listinfo/cryptography
On Sun, Feb 24, 2019 at 3:25 PM Arnold Reinhold <agr@me.com> wrote: > NIST SP 800-185 defines a set of MAC functions (KMAC) derived from SHA3. > > Arnold Reinhold > Perfect _______________________________________________ The cryptography mailing list cryptography@metzdowd.com http://www.metzdowd.com/mailman/listinfo/cryptography
89.2 MB 3,873 messages
Last sync: 15 July 2019 22:44

Move Messages

Save

Apply Labels


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in Unknown on line 0