41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
|
/*
|
||
|
* Copyright (c) 2012-2020 MIRACL UK Ltd.
|
||
|
*
|
||
|
* This file is part of MIRACL Core
|
||
|
* (see https://github.com/miracl/core).
|
||
|
*
|
||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
* you may not use this file except in compliance with the License.
|
||
|
* You may obtain a copy of the License at
|
||
|
*
|
||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||
|
*
|
||
|
* Unless required by applicable law or agreed to in writing, software
|
||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
* See the License for the specific language governing permissions and
|
||
|
* limitations under the License.
|
||
|
*/
|
||
|
|
||
|
#ifndef CONFIG_FIELD_TWEEDLEDEE_H
|
||
|
#define CONFIG_FIELD_TWEEDLEDEE_H
|
||
|
|
||
|
#include"core.h"
|
||
|
#include "config_big_B256_29.h"
|
||
|
|
||
|
// FP stuff
|
||
|
|
||
|
#define MBITS_TWEEDLEDEE 255
|
||
|
#define PM1D2_TWEEDLEDEE 34
|
||
|
#define MODTYPE_TWEEDLEDEE NOT_SPECIAL
|
||
|
#define MAXXES_TWEEDLEDEE 6
|
||
|
#define QNRI_TWEEDLEDEE 5
|
||
|
#define RIADZ_TWEEDLEDEE 1
|
||
|
#define RIADZG2A_TWEEDLEDEE 0
|
||
|
#define RIADZG2B_TWEEDLEDEE 0
|
||
|
#define TOWER_TWEEDLEDEE NEGATOWER
|
||
|
|
||
|
//#define BIG_ENDIAN_SIGN_TWEEDLEDEE
|
||
|
|
||
|
#endif
|