get-smooth / crypto-lib

A Cryptographic Library for Smooth Blockchain uses
47 stars 2 forks source link

Incorporate Wycheproof #19

Open paulmillr opened 4 hours ago

paulmillr commented 4 hours ago

Wycheproof vectors are a good source of edge cases. Take a glance at noble-curves tests for inspiration.

rdubois-crypto commented 3 hours ago

Hi Paul. I am a big fan of noble-curves, and i am actually building stuffs using it for the front (wallet) side :) I would gladly have private discussions with you (see my profile).

SCL actually incorporate wycheproof vectors for secp256r1 : https://github.com/get-smooth/crypto-lib/blob/main/test/vectors_wycheproof.jsonl

You might be referring to ed25519, for which only the vectors link to the rfc are provided. It shall be a good idea, actually Veridise our auditors told that they ran them, but i didn't checked.