Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for precomputeParams (0.08 sec)

  1. 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