>What happens if you repeat the nonce? You’re going to mess up authenticity for all future messages, and you’re going to mess up privacy for the messages that use the repeated nonce.
The loss of privacy on OCB nonce reuse is not as severe. It would be more or less the same as with ECB mode.
tptacek|1 year ago
dontdoxxme|1 year ago
...a variant on that is DNDK-GCM in draft at https://datatracker.ietf.org/doc/draft-gueron-cfrg-dndkgcm/ and a recent presentation: https://youtu.be/GsFO4ZQlYS8 (this is Shay Gueron who worked on AES-GCM-SIV too).
vlovich123|1 year ago
bjoli|1 year ago
notfed|1 year ago
But, AES-GCM-SIV requires two passes over the data, which isn't always ideal.
The goal of the CAESAR competition [1] was essentially to find alternatives. Whether that goal has been met is a bit unclear at the moment.
[1] https://competitions.cr.yp.to/caesar-submissions.html
throw0101d|1 year ago
https://en.wikipedia.org/wiki/CAESAR_Competition
throw0101d|1 year ago
* https://en.wikipedia.org/wiki/OCB_mode
upofadown|1 year ago
>What happens if you repeat the nonce? You’re going to mess up authenticity for all future messages, and you’re going to mess up privacy for the messages that use the repeated nonce.
The loss of privacy on OCB nonce reuse is not as severe. It would be more or less the same as with ECB mode.
[1] https://www.cs.ucdavis.edu/~rogaway/ocb/ocb-faq.htm