constantine/tests/math/t_fp12_bn254_nogami.nim

27 lines
861 B
Nim
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Constantine
# Copyright (c) 2018-2019 Status Research & Development GmbH
# Copyright (c) 2020-Present Mamy André-Ratsimbazafy
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at http://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at http://www.apache.org/licenses/LICENSE-2.0).
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import
# Internals
../../constantine/math/extension_fields,
../../constantine/math/config/curves,
# Test utilities
./t_fp_tower_template
const TestCurves = [
BN254_Nogami,
]
runTowerTests(
ExtDegree = 12,
Iters = 12,
TestCurves = TestCurves,
moduleName = "test_fp12_" & $BN254_Nogami,
testSuiteDesc = "𝔽p12 = 𝔽p6[w] " & $BN254_Nogami
)