xref: /freebsd/crypto/libecc/include/libecc/utils/print_curves.h (revision f0865ec9906d5a18fa2a3b61381f22ce16e606ad)
1 /*
2  *  Copyright (C) 2017 - This file is part of libecc project
3  *
4  *  Authors:
5  *      Ryad BENADJILA <ryadbenadjila@gmail.com>
6  *      Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr>
7  *      Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr>
8  *
9  *  Contributors:
10  *      Nicolas VIVET <nicolas.vivet@ssi.gouv.fr>
11  *      Karim KHALFALLAH <karim.khalfallah@ssi.gouv.fr>
12  *
13  *  This software is licensed under a dual BSD and GPL v2 license.
14  *  See LICENSE file at the root folder of the project.
15  */
16 #ifndef __PRINT_CURVES_H__
17 #define __PRINT_CURVES_H__
18 
19 #include <libecc/curves/curves.h>
20 #include <libecc/utils/print_fp.h>
21 
22 void ec_point_print(const char *msg, prj_pt_src_t prj_pt);
23 
24 void ec_montgomery_point_print(const char *msg, aff_pt_montgomery_src_t pt);
25 
26 void ec_edwards_point_print(const char *msg, aff_pt_edwards_src_t pt);
27 
28 #endif /* __PRINT_CURVES_H__ */
29