| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Pairing.Fq
Description
Prime field with characteristic _q, over which the elliptic curve is defined and the other finite field extensions. First field in the tower:
- Fq
- Fq2 := Fq[u]/u^2 + 1
- Fq6 := Fq2[v]/v^3 - (9 + u)
- Fq12 := Fq6[w]/w^2 - v
Documentation
Prime field with characteristic _q
Instances
| Eq Fq Source # | |
| Fractional Fq Source # | |
| Num Fq Source # | |
| Ord Fq Source # | |
| Show Fq Source # | |
| Generic Fq Source # | |
| Semigroup G1 Source # | |
| Monoid G1 Source # | |
| Bits Fq Source # | |
Defined in Pairing.Fq | |
| NFData Fq Source # | |
Defined in Pairing.Fq | |
| ByteRepr Fq Source # | |
Defined in Pairing.Fq | |
| Validate G1 Source # | |
Defined in Pairing.Group Methods isValidElement :: G1 -> Bool Source # | |
| FromX Fq Source # | |
| CyclicGroup G1 Source # | |
| AsInteger Fq Source # | |
| ToUncompressedForm G1 Source # | |
Defined in Pairing.Group Methods | |
| ToCompressedForm G1 Source # | |
Defined in Pairing.Group Methods serializeCompressed :: G1 -> Maybe ByteString Source # | |
| Arbitrary (Point Fq) Source # | |
| type Rep Fq Source # | |
Defined in Pairing.Fq | |
Turn an integer into an Fq number, should be used instead of
the Fq constructor.
random :: MonadRandom m => m Fq Source #