2021-12-14 23:02:11 +00:00
|
|
|
|
# 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
|
2022-08-14 07:48:10 +00:00
|
|
|
|
# Internals
|
|
|
|
|
../../constantine/math/extension_fields,
|
|
|
|
|
../../constantine/math/config/curves,
|
|
|
|
|
# Test utilities
|
|
|
|
|
./t_fp_tower_template
|
2022-08-06 17:55:35 +00:00
|
|
|
|
|
2022-08-14 07:48:10 +00:00
|
|
|
|
const TestCurves = [
|
|
|
|
|
BN254_Nogami,
|
|
|
|
|
]
|
2021-12-14 23:02:11 +00:00
|
|
|
|
|
2022-08-14 07:48:10 +00:00
|
|
|
|
runTowerTests(
|
|
|
|
|
ExtDegree = 6,
|
|
|
|
|
Iters = 12,
|
|
|
|
|
TestCurves = TestCurves,
|
|
|
|
|
moduleName = "test_fp6_" & $BN254_Nogami,
|
|
|
|
|
testSuiteDesc = "𝔽p6 = 𝔽p2[w] " & $BN254_Nogami
|
2022-04-04 08:10:36 +00:00
|
|
|
|
)
|