[Libre-soc-bugs] [Bug 782] add galois field bitmanip instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Mar 16 12:53:23 GMT 2022


https://bugs.libre-soc.org/show_bug.cgi?id=782

--- Comment #83 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #81)

> I think this approach is better than having to constantly keep gf2.py and
> bitmanip.mdwn in sync and having the DIY tests in gf2.py where the user has
> to manually compare print outputs.

absolutely.

(In reply to Jacob Lifshay from comment #82)
> I added python implementations and tests for all the gfb* instructions

great. btw i altered the twin-instruction to be mul-add for RT
and just add for RS. this matches with the DCT twin-instruction
interestingly, and i believe is the basis of additive NTT.

about which: i am beginning to question the value of adding GF-Prime.
reason is: ecc25519 requires 256-bit arithmetic and we ain't addin'
tha' so have to use bigint math anyway.

therefore if doing bigint math is there anything that can be added
which will speed that up?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list