- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for addCode (0.78 seconds)
-
lib/fips140/v1.26.0.zip
t.Run(fmt.Sprintf("line %d", lineNum), func(t *testing.T) { if A == "0" || B == "0" { t.Skip("skipping test with zero input") } if LCM == "1" { t.Skip("skipping test with LCM=1") } p, _ := bigmod.NewModulus(addOne(decodeHex(t, A))) a, _ := bigmod.NewNat().SetBytes(decodeHex(t, A), p) q, _ := bigmod.NewModulus(addOne(decodeHex(t, B))) b, _ := bigmod.NewNat().SetBytes(decodeHex(t, B), q) gcd, err := bigmod.NewNat().GCDVarTime(a, b) // GCD doesn't work if a and b are both even, but LCM handles it. if err == nil...
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) -
lib/fips140/v1.0.0-c2097c7c.zip
t.Run(fmt.Sprintf("line %d", lineNum), func(t *testing.T) { if A == "0" || B == "0" { t.Skip("skipping test with zero input") } if LCM == "1" { t.Skip("skipping test with LCM=1") } p, _ := bigmod.NewModulus(addOne(decodeHex(t, A))) a, _ := bigmod.NewNat().SetBytes(decodeHex(t, A), p) q, _ := bigmod.NewModulus(addOne(decodeHex(t, B))) b, _ := bigmod.NewNat().SetBytes(decodeHex(t, B), q) gcd, err := bigmod.NewNat().GCDVarTime(a, b) // GCD doesn't work if a and b are both even, but LCM handles it. if err == nil...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)