/[rdesktop]/sourceforge.net/trunk/rdesktop/crypto/arith.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/rdesktop/crypto/arith.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations)
Tue Aug 15 10:32:09 2000 UTC (23 years, 9 months ago) by matty
File MIME type: text/plain
File size: 1464 byte(s)
Crypto routines.

1 /*******************************************************************************
2 * *
3 * Copyright (c) Martin Nicolay, 22. Nov. 1988 *
4 * *
5 * Wenn diese (oder sinngemaess uebersetzte) Copyright-Angabe enthalten *
6 * bleibt, darf diese Source fuer jeden nichtkomerziellen Zweck weiter *
7 * verwendet werden. *
8 * *
9 * martin@trillian.megalon.de *
10 * *
11 *******************************************************************************/
12
13 #ifndef _arith_h_
14 #define _arith_h_
15
16 #ifndef _conf_h_
17 #include "conf.h"
18 #endif
19
20 extern NUMBER a_one,a_two;
21
22 /*
23 * Prototypes
24 */
25
26 void a_add P(( NUMBER*, NUMBER*, NUMBER* ));
27 void a_assign P(( NUMBER*, NUMBER* ));
28 int a_cmp P(( NUMBER*, NUMBER* ));
29 void a_div P(( NUMBER*, NUMBER*, NUMBER*, NUMBER* ));
30 void a_div2 P(( NUMBER* ));
31 void a_ggt P(( NUMBER*, NUMBER*, NUMBER* ));
32 void a_imult P(( NUMBER*, INT, NUMBER* ));
33 void a_mult P(( NUMBER*, NUMBER*, NUMBER* ));
34 void a_sub P(( NUMBER*, NUMBER*, NUMBER* ));
35 void m_init P(( NUMBER*, NUMBER* ));
36 void m_add P(( NUMBER*, NUMBER*, NUMBER* ));
37 void m_mult P(( NUMBER*, NUMBER*, NUMBER* ));
38 void m_exp P(( NUMBER*, NUMBER*, NUMBER* ));
39 int n_bits P(( NUMBER*, int));
40 void n_div P(( NUMBER*, NUMBER*, NUMBER*, NUMBER* ));
41 int n_cmp P(( INT*, INT*, int ));
42 int n_mult P(( INT*, INT, INT*, int ));
43 int n_sub P(( INT*, INT*, INT*, int, int ));
44 int n_bitlen P(( NUMBER* ));
45
46 #endif

  ViewVC Help
Powered by ViewVC 1.1.26