- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testkit (0.06 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
bBig := new(big.Int).SetBytes(b) nBig := new(big.Int).Mul(aBig, bBig) nBig.Mod(nBig, mBig) nBigBytes := make([]byte, len(ABytes)) nBig.FillBytes(nBigBytes) if !bytes.Equal(ABytes, nBigBytes) { t.Errorf("got %x, want %x", ABytes, nBigBytes) } } func TestIs(t *testing.T) { checkYes := func(c choice, err string) { t.Helper() if c != yes { t.Error(err) } } checkNot := func(c choice, err string) { t.Helper() if c != no { t.Error(err) } } mFour := modulusFromBytes([]byte{4}) n, err := NewNat().SetBytes([]byte{3},...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0)