Bill Roberts <bill.robe...@foss.arm.com> writes: >> Before, the size of the context structs ranged from 280 bytes for >> sha3_512 to 352 bytes for sha3_224 and 376 for shake128. After these >> changes, all variants use the same context struct of 216 bytes. >> One can then eliminate the different struct sha3_*_ctx, replacing >> with a >> single struct sha3_ctx, and similarly only a single sha3_init function. >> Would it be useful to keep old names as preprocessor aliases? Either >> by >> default, or via a separate header nettle/sha3-compat.h? > > Default would be my vote.
Pushed these changes, including the compatibility aliases, to a branch trim-sha3-context. I think I'll merge to master soon. Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se