| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Pairing.Fq6
Description
Cubic extension of the tower:
- Fq
- Fq2 := Fq[u]/u^2 + 1
- Fq6 := Fq2[v]/v^3 - (9 + u)
- Fq12 := Fq6[w]/w^2 - v
Implementation follows "Multiplication and Squaring on Pairing-Friendly Fields" by Devigili, hEigeartaigh, Scott and Dahab.
Documentation
Field extension defined as Fq2[v]/v^3 - (9 + u)
Instances
| Eq Fq6 Source # | |
| Fractional Fq6 Source # | |
| Num Fq6 Source # | |
| Show Fq6 Source # | |
| Generic Fq6 Source # | |
| NFData Fq6 Source # | |
Defined in Pairing.Fq6 | |
| ByteRepr Fq6 Source # | |
Defined in Pairing.Fq6 | |
| type Rep Fq6 Source # | |
Defined in Pairing.Fq6 type Rep Fq6 = D1 (MetaData "Fq6" "Pairing.Fq6" "pairing-0.3.1-JhhvluXyNup3CB27ybng3m" False) (C1 (MetaCons "Fq6" PrefixI True) (S1 (MetaSel (Just "fq6x") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Fq2) :*: (S1 (MetaSel (Just "fq6y") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Fq2) :*: S1 (MetaSel (Just "fq6z") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Fq2)))) | |
new :: Fq2 -> Fq2 -> Fq2 -> Fq6 Source #
Create a new value in Fq6, should be used instead of the Fq6
constructor.
random :: MonadRandom m => m Fq6 Source #