Maamoun TK <[email protected]> writes: > hmm right, didn't cross my mind. I'll add 2^64 -> 2^26 procedure at > prologue of _nettle_poly1305_4core() and 2^26 -> 2^64 at epilogue to > workaround this.
If possible, I think it would be nice to let subkeys stored in struct poly1305_ctx stay in radix-2^64, and compute the radix-2^26 versions into registers when needed in _nettle_poly1305_4core. And thuse treat the subkeys stored in the struct as const even if it technically isn't const declared. I take it you need more radix-2^26 subkey constants than can fit in the current struct layout anyway? Regards, /Niels -- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
