- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScalarSetBytesWi (1.6 sec)
-
lib/fips140/v1.0.0.zip
!isReduced(repr) { return false } scBig := bigIntFromLittleEndi(repr[:]) inBig := bigIntFromLittleEndi(in[:]) return inBig.Mod(inBig, mod).Cmp(scBig) == 0 } if err := quick.Check(f, quickCheckConfig(1024)); err != nil { t.Error(err) } } func TestScalarSetBytesWi(t *testing.T) { // Generated with libsodium.js 1.0.18 crypto_scalarmult_ed25519_base. random := "633d368491364dc9cd4c" s, _ := new(Scalar).SetBytesWithClamping(decodeHex(random)) p := new(Point).ScalarBaseMult(s) want := "1d87a9026fd0126a5736"...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)