lol-tests-0.0.0.1: A library for testing <https://hackage.haskell.org/package/lol Λ ∘ λ>.

Copyright(c) Eric Crockett 2011-2017
Chris Peikert 2011-2017
LicenseGPL-2
Maintainerecrockett0@email.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Crypto.Lol.Tests.CycTests

Description

Tests for the Cyc interface.

Synopsis

Documentation

cycTests1 :: forall t m r. _ => Proxy '(m, r) -> Proxy t -> Test Source #

Tests for single-index operations. There must be a CRT basis for \(O_m\) over r.

cycTests2 :: forall t m m' r. _ => Proxy '(m, m', r) -> Proxy t -> Test Source #

Tests for inter-ring operations. There must be a CRT basis for \(O_{m'}\) over r.

prop_mulgPow :: _ => Cyc t m r -> Test '(t, m, r) Source #

prop_mulgDec :: _ => Cyc t m r -> Test '(t, m, r) Source #

prop_mulgCRT :: _ => Cyc t m r -> Test '(t, m, r) Source #

prop_coeffsBasis :: forall t m m' r. _ => Cyc t m' r -> Test '(t, m, m', r) Source #

prop_crtSet_pairs :: forall t m m' r. (CElt t r, Fact m', _) => Test '(t, m, m', r) Source #