aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/conftest.py
blob: 1c1449ab30f10e093d5ea7fd9df82c531f74daa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest

from pyecsca.ec.params import get_params, DomainParameters


@pytest.fixture(scope="session")
def secp128r1() -> DomainParameters:
    return get_params("secg", "secp128r1", "projective")


@pytest.fixture(scope="session")
def curve25519() -> DomainParameters:
    return get_params("other", "Curve25519", "xz")