blob: d99436b073023c5b571c0d0205c20d4cd3c253b5 [file] [log] [blame]
// See file LICENSE for more information.
library impl.ec_domain_parameters.brainpoolp384r1;
import 'package:pointycastle/ecc/api.dart';
import 'package:pointycastle/ecc/ecc_base.dart';
import 'package:pointycastle/src/ec_standard_curve_constructor.dart';
import 'package:pointycastle/src/registry/registry.dart';
// ignore: camel_case_types
class ECCurve_brainpoolp384r1 extends ECDomainParametersImpl {
static final FactoryConfig factoryConfig = StaticFactoryConfig(
ECDomainParameters, 'brainpoolp384r1', () => ECCurve_brainpoolp384r1());
factory ECCurve_brainpoolp384r1() => constructFpStandardCurve(
'brainpoolp384r1', ECCurve_brainpoolp384r1._make,
q: BigInt.parse(
'8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123acd3a729901d1a71874700133107ec53',
radix: 16),
a: BigInt.parse(
'7bc382c63d8c150c3c72080ace05afa0c2bea28e4fb22787139165efba91f90f8aa5814a503ad4eb04a8c7dd22ce2826',
radix: 16),
b: BigInt.parse(
'4a8c7dd22ce28268b39b55416f0447c2fb77de107dcd2a62e880ea53eeb62d57cb4390295dbc9943ab78696fa504c11',
radix: 16),
g: BigInt.parse(
'041d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8e826e03436d646aaef87b2e247d4af1e8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff99129280e4646217791811142820341263c5315',
radix: 16),
n: BigInt.parse(
'8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7cf3ab6af6b7fc3103b883202e9046565',
radix: 16),
h: BigInt.parse('1', radix: 16),
seed: null) as ECCurve_brainpoolp384r1;
static ECCurve_brainpoolp384r1 _make(String domainName, ECCurve curve,
ECPoint G, BigInt n, BigInt _h, List<int>? seed) =>
ECCurve_brainpoolp384r1._super(domainName, curve, G, n, _h, seed);
ECCurve_brainpoolp384r1._super(String domainName, ECCurve curve, ECPoint G,
BigInt n, BigInt _h, List<int>? seed)
: super(domainName, curve, G, n, _h, seed);
}