BeeCrypt
4.2.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
beecrypt
dlkp.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2000, 2001, 2002 X-Way Rights BV
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
*/
19
26
#ifndef _DLKP_H
27
#define _DLKP_H
28
29
#include "
beecrypt/dlpk.h
"
30
33
#ifdef __cplusplus
34
struct
BEECRYPTAPI
dlkp_p
35
#else
36
struct _dlkp_p
37
#endif
38
{
39
dldp_p
param
;
40
mpnumber
y
;
41
mpnumber
x
;
42
43
#ifdef __cplusplus
44
dlkp_p
();
45
dlkp_p
(
const
dlkp_p
&);
46
~
dlkp_p
();
47
#endif
48
};
49
50
#ifndef __cplusplus
51
typedef
struct
_dlkp_p
dlkp_p
;
52
#endif
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
58
BEECRYPTAPI
59
int
dlkp_pPair
(
dlkp_p
*,
randomGeneratorContext
*,
const
dldp_p
*);
60
BEECRYPTAPI
61
int
dlkp_pInit
(
dlkp_p
*);
62
BEECRYPTAPI
63
int
dlkp_pFree
(
dlkp_p
*);
64
BEECRYPTAPI
65
int
dlkp_pCopy
(
dlkp_p
*,
const
dlkp_p
*);
66
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
Generated by
1.8.4