Hot answers tagged

1

You could use the turtle block cipher with CMAC, maybe. The turtle block cipher claims a cipher design that is based on "an NP-Complete Subproblem". Block ciphers can be used to produce authentication tags via algorithms such as CMAC. I'm not sure if this combination necessarily qualifies the authentication as being based on an NP-Complete subproblem ...


1

The commit that added this double HMAC only says it improves "valid MAC detection", but it simultaneously adds the constant-time comparison, so likely the reason is indeed defense against timing attacks: Improve valid MAC detection Implement constant time string comparison as well as double HMAC verification for encryption MACs. Double HMAC is a ...



Only top voted, non community-wiki answers of a minimum length are eligible