Application: Elliptic Curve Cryptographie (gcc) now with riscvp2

Hi Forum
found a ECC Demo for ARM, but run also on P1.
If anyone interesst, I attach the side - project.
Is a little bit slow, but on P2 . . . ;-)
found a ECC Demo for ARM, but run also on P1.
If anyone interesst, I attach the side - project.
Is a little bit slow, but on P2 . . . ;-)
Comments
http://obex.parallax.com/object/817
I am not even sure if its working, but I think so. All 5 NIST curves are implemented.
After a long time I decided to try the riscvp2 compiler and run this demo on P2.
I'm excited.
Needed a small ANSI C tweak for Catalina, but here it is for the P1 and P2.
Ok on the P2, but very slow on the P1!
Ross.
@RossH
Thank you for this info. I try it next week, when I am at home.
On first look I see not many difference in execution speed.
I use the given binary, compiled with catalina and the second binary, compiled with riscvp2.
I am not familiar with catalina and get problems at compile time.
But I think I can solve this, something with an Exportvariabe $LCCDIR. Have a look into the load_catalina.sh script
So I use the given binary.
If I have more time, I get closer in catalina.
-- sorry I know this is actually an item for the P2 thread --
See the file README.Linux. Specifically:
Ross.
@RossH
Thank you, that was the missing link (-- and now I found it also in the README --)
Now I am prepared to prog with catalina.
Reinhard