3 ms·
128-bit counter and key rotation are not mutually exclusive. I believe the 768 byte figure comes from DJB's blog on fast key erasure[1]. Why he picked 768, I
by loeg 7y ago
128-bit counter and key rotation are not mutually exclusive.
I believe the 768 byte figure comes from DJB's blog on fast key erasure[1]. Why he picked 768, I do not know.
[1]: https://blog.cr.yp.to/20170723-random.html https://blog.cr.yp.to/20170723-random.html
- loup-vaillant 7y agoOh, I see. Then people blindly copied it, without taking into account that Chacha20 has bigger blocks than AES, and could benefit from vector implementations (while AES has bit slicing or AES-NI).