- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestScalarSetBytesWi (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.26.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"...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)