forked from ANSSI-FR/libecc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfp_add.h
26 lines (24 loc) · 792 Bytes
/
fp_add.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* Copyright (C) 2017 - This file is part of libecc project
*
* Authors:
* Ryad BENADJILA <ryadbenadjila@gmail.com>
* Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr>
* Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr>
*
* Contributors:
* Nicolas VIVET <nicolas.vivet@ssi.gouv.fr>
* Karim KHALFALLAH <karim.khalfallah@ssi.gouv.fr>
*
* This software is licensed under a dual BSD and GPL v2 license.
* See LICENSE file at the root folder of the project.
*/
#ifndef __FP_ADD_H__
#define __FP_ADD_H__
#include "fp.h"
void fp_add(fp_t out, fp_src_t in1, fp_src_t in2);
void fp_inc(fp_t out, fp_src_t in);
void fp_sub(fp_t out, fp_src_t in1, fp_src_t in2);
void fp_dec(fp_t out, fp_src_t in);
void fp_neg(fp_t out, fp_src_t in);
#endif /* __FP_ADD_H__ */