2018-07-17 21:26:39 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018, Henry Corrigan-Gibbs
|
2018-08-29 23:47:18 +03:00
|
|
|
*
|
2018-07-17 21:26:39 +03:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
2018-08-29 23:47:18 +03:00
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2018-07-17 21:26:39 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PARAMS_H__
|
|
|
|
#define __PARAMS_H__
|
|
|
|
|
|
|
|
// A prime modulus p.
|
2018-09-21 17:54:58 +03:00
|
|
|
static const char Modulus[] = "8000000000000000080001";
|
2018-07-17 21:26:39 +03:00
|
|
|
|
|
|
|
// A generator g of a subgroup of Z*_p.
|
2019-03-28 07:34:20 +03:00
|
|
|
static const char Generator[] = "2597c14f48d5b65ed8dcca";
|
2018-07-17 21:26:39 +03:00
|
|
|
|
|
|
|
// The generator g generates a subgroup of
|
|
|
|
// order 2^Generator2Order in Z*_p.
|
2019-03-28 07:34:20 +03:00
|
|
|
static const int Generator2Order = 19;
|
2018-07-17 21:26:39 +03:00
|
|
|
|
|
|
|
#endif /* __PARAMS_H__ */
|