Added stub for IKEv1 keymat_t implementation.
[strongswan.git] / src / libcharon / sa / keymat_v1.h
1 /*
2 * Copyright (C) 2011 Tobias Brunner
3 * Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 /**
17 * @defgroup keymat_v1 keymat_v1
18 * @{ @ingroup sa
19 */
20
21 #ifndef KEYMAT_V1_H_
22 #define KEYMAT_V1_H_
23
24 #include <sa/keymat.h>
25
26 typedef struct keymat_v1_t keymat_v1_t;
27
28 /**
29 * Derivation and management of sensitive keying material, IKEv1 variant.
30 */
31 struct keymat_v1_t {
32
33 /**
34 * Implements keymat_t.
35 */
36 keymat_t keymat;
37 };
38
39 /**
40 * Create a keymat instance.
41 *
42 * @param initiator TRUE if we are the initiator
43 * @return keymat instance
44 */
45 keymat_v1_t *keymat_v1_create(bool initiator);
46
47 #endif /** KEYMAT_V1_H_ @}*/