MastersThesis/PQ_TIIGER_TLS/sal/miracl-winx64-15-04-24/includes/config_field_F384PM.h

41 lines
1.1 KiB
C
Raw Permalink Normal View History

2024-04-15 09:53:30 +00:00
/*
* 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_F384PM_H
#define CONFIG_FIELD_F384PM_H
#include"core.h"
#include "config_big_B384_58.h"
// FP stuff
#define MBITS_F384PM 384
#define PM1D2_F384PM 1
#define MODTYPE_F384PM PSEUDO_MERSENNE
#define MAXXES_F384PM 22
#define QNRI_F384PM 0
#define RIADZ_F384PM 0
#define RIADZG2A_F384PM 0
#define RIADZG2B_F384PM 0
#define TOWER_F384PM NEGATOWER
//#define BIG_ENDIAN_SIGN_F384PM
#endif