f94b972d |
1 | /* -*-c-*- |
2 | * |
3 | * $Id$ |
4 | * |
5 | * Internal structures for built-in elliptic curve types |
6 | * |
7 | * (c) 2004 Straylight/Edgeware |
8 | */ |
9 | |
45c0fd36 |
10 | /*----- Licensing notice --------------------------------------------------* |
f94b972d |
11 | * |
12 | * This file is part of Catacomb. |
13 | * |
14 | * Catacomb is free software; you can redistribute it and/or modify |
15 | * it under the terms of the GNU Library General Public License as |
16 | * published by the Free Software Foundation; either version 2 of the |
17 | * License, or (at your option) any later version. |
45c0fd36 |
18 | * |
f94b972d |
19 | * Catacomb is distributed in the hope that it will be useful, |
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | * GNU Library General Public License for more details. |
45c0fd36 |
23 | * |
f94b972d |
24 | * You should have received a copy of the GNU Library General Public |
25 | * License along with Catacomb; if not, write to the Free |
26 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
27 | * MA 02111-1307, USA. |
28 | */ |
29 | |
30 | #ifndef CATACOMB_EC_GUTS_H |
31 | #define CATACOMB_EC_GUTS_H |
32 | |
33 | #ifdef __cplusplus |
34 | extern "C" { |
35 | #endif |
36 | |
37 | /*----- Header files ------------------------------------------------------*/ |
38 | |
39 | #ifndef CATACOMB_MP_H |
40 | # include "mp.h" |
41 | #endif |
42 | |
43 | #ifndef CATACOMB_EC_H |
44 | # include "ec.h" |
45 | #endif |
46 | |
47 | /*----- Data structures ---------------------------------------------------*/ |
48 | |
49 | typedef struct ecctx_bin { |
50 | ec_curve c; |
51 | mp *bb; |
52 | } ecctx_bin; |
53 | |
54 | /*----- That's all, folks -------------------------------------------------*/ |
55 | |
56 | #ifdef __cplusplus |
57 | } |
58 | #endif |
59 | |
60 | #endif |