[Libre-soc-bugs] [Bug 1159] poly1305 unit tests

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 3 17:51:24 BST 2023


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

--- Comment #18 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Sadoon Albader from comment #16)

> I seem to have misunderstood then, aren't we supposed to test against both
> the python and C implementations, since the C one is being used as the
> source that we ported to python and then porting to SVP64?

yes? :) i tend to think in terms of "shortest path"...

(In reply to Sadoon Albader from comment #17)
> At any rate the C unit test is done, output is conveniently in CSV format
> (lol)

niiice. see csvreader although
 with open(fname) as f:
   map(lambda x : x.split(","), f.readlines())
does the same job in 2 lines...

> This means we can use pure python to convert the 3 arrays, now figuring out
> the correct output formatting needed before pushing.
> 
> EDIT: I don't have permissions to push to openpower-isa, could someone
> please add me?

eep 1 sec.. done

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


More information about the libre-soc-bugs mailing list