Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
NARKProof | |
|
Instances
Generic (NARKProof m c k) Source # | |
(Show c, Show m) => Show (NARKProof m c k) Source # | |
(NFData c, NFData m) => NFData (NARKProof m c k) Source # | |
Defined in ZkFold.Base.Protocol.Protostar.NARK | |
type Rep (NARKProof m c k) Source # | |
Defined in ZkFold.Base.Protocol.Protostar.NARK type Rep (NARKProof m c k) = D1 ('MetaData "NARKProof" "ZkFold.Base.Protocol.Protostar.NARK" "symbolic-base-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NARKProof" 'PrefixI 'True) (S1 ('MetaSel ('Just "narkCommits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector k c)) :*: S1 ('MetaSel ('Just "narkWitness") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector k m)))) |
narkProof :: forall f i p m c d k a. (SpecialSoundProtocol f i p m c d k a, Ring f, HomomorphicCommit m c, RandomOracle (i f) f, RandomOracle c f, KnownNat k) => FiatShamir (CommitOpen a) -> i f -> p f -> NARKProof m c k Source #
data NARKInstanceProof f i m c k Source #
NARKInstanceProof (i f) (NARKProof m c k) |
Instances
narkInstanceProof :: forall f i p m c d k a. (SpecialSoundProtocol f i p m c d k a, Ring f, HomomorphicCommit m c, RandomOracle (i f) f, RandomOracle c f, KnownNat k) => FiatShamir (CommitOpen a) -> i f -> p f -> NARKInstanceProof f i m c k Source #