Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for precomputeParams (0.07 sec)

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

    interface { *nistec.P224Point | *nistec.P256Point | *nistec.P384Point | *nistec.P521Point Bytes() []byte BytesX() ([]byte, error) SetBytes([]byte) (P, error) ScalarMult(P, []byte) (P, error) ScalarBaseMult([]byte) (P, error) Add(p1, p2 P) P } func precomputeParams[P Point[P]](c *Curve[P], order []byte) { var err error c.N, err = bigmod.NewModulus(order) if err != nil { panic(err) } two, _ := bigmod.NewNat().SetBytes([]byte{2}, c.N) c.nMinus2 = bigmod.NewNat().ExpandFor(c.N).Sub(two, c.N).Bytes(c.N) } func...
    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

    interface { *nistec.P224Point | *nistec.P256Point | *nistec.P384Point | *nistec.P521Point Bytes() []byte BytesX() ([]byte, error) SetBytes([]byte) (P, error) ScalarMult(P, []byte) (P, error) ScalarBaseMult([]byte) (P, error) Add(p1, p2 P) P } func precomputeParams[P Point[P]](c *Curve[P], order []byte) { var err error c.N, err = bigmod.NewModulus(order) if err != nil { panic(err) } two, _ := bigmod.NewNat().SetBytes([]byte{2}, c.N) c.nMinus2 = bigmod.NewNat().ExpandFor(c.N).Sub(two, c.N).Bytes(c.N) } func...
    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