Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for oddDivisorLargerThan (0.16 sec)

  1. lib/fips140/v1.0.0-c2097c7c.zip

    doesn't work if a and b are both even, but LCM handles it. if err == nil { if got := strings.TrimLeft(hex.EncodeToString(gcd.Bytes(p)), "0"); got != GCD { t.Fatalf("unexpected GCD: got %s, want %s", got, GCD) } } lcm, err := totient(p, q) if oddDivisorLargerThan(decodeHex(t, GCD)) { if err != errDivisorTooLarge { t.Fatalf("expected divisor too large error, got %v", err) } t.Skip("GCD too large") } if err != nil { t.Fatalf("failed to calculate totient: %v", err) } if got := strings.TrimLeft(hex.Enc...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    doesn't work if a and b are both even, but LCM handles it. if err == nil { if got := strings.TrimLeft(hex.EncodeToString(gcd.Bytes(p)), "0"); got != GCD { t.Fatalf("unexpected GCD: got %s, want %s", got, GCD) } } lcm, err := totient(p, q) if oddDivisorLargerThan(decodeHex(t, GCD)) { if err != errDivisorTooLarge { t.Fatalf("expected divisor too large error, got %v", err) } t.Skip("GCD too large") } if err != nil { t.Fatalf("failed to calculate totient: %v", err) } if got := strings.TrimLeft(hex.Enc...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top