7 ms·
2. Is the attack related to the unauthenticated lengths already mentioned or is there something else there?
by archimag0 10y ago
2. Is the attack related to the unauthenticated lengths already mentioned or is there something else there?
- tptacek 10y agoThere is a third unrelated problem. Probably more!
- n00body 10y agoA replay attack? Problem with the block counter being updated? I give up. what is third thing? :D
- archimag0 10y agoWell, on closer inspection it seems like the MAC isn't actually an HMAC, but just SHA3. And since the padding isn't verified (because it can't be) that leaves it open to simple extension/truncation attacks (Crytopals challenges 29 and 30)?
- tptacek 10y agoNope. It's safe to make a MAC out of a keyed SHA3 hash (one of the criteria for the SHA3 contest was that none of the hashes be vulnerable to length extension). Fun fact: that's also true of the "truncated" SHA2 variants (SHA2-384 and the like).