cfrg / draft-irtf-cfrg-aegis-aead

Specification for the AEGIS family of authenticated encryption algorithms.
https://cfrg.github.io/draft-irtf-cfrg-aegis-aead/draft-irtf-cfrg-aegis-aead.html
Other
10 stars 2 forks source link

Fix Init() function for 256X, and update the 128X one for consistency #38

Closed jedisct1 closed 8 months ago

jedisct1 commented 8 months ago

In 256X initialization, the Update() function should only be called once per iteration.

Also move ctx initialization out of the loop, as it's constant.