aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/rsa/rsa_private_key.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-10-30 14:07:05 +0000
committerMartin Willi <martin@strongswan.org>2006-10-30 14:07:05 +0000
commit382b481795d973a94efa1bf5635426566a941718 (patch)
tree901754b00d54493e9181cd096fd283b220411db3 /src/libstrongswan/crypto/rsa/rsa_private_key.h
parent09cb5472bc51d95e6e0fa9c5321ecb0956fcd6c0 (diff)
downloadstrongswan-382b481795d973a94efa1bf5635426566a941718.tar.bz2
strongswan-382b481795d973a94efa1bf5635426566a941718.tar.xz
moved typedefs to beginning of files to solve some include problems
splitted authenticator to have a separate implementation for each auth_method_t using va_copy to clone va_lists, should fix proplems on AMD64 some other cleanups
Diffstat (limited to 'src/libstrongswan/crypto/rsa/rsa_private_key.h')
-rw-r--r--src/libstrongswan/crypto/rsa/rsa_private_key.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libstrongswan/crypto/rsa/rsa_private_key.h b/src/libstrongswan/crypto/rsa/rsa_private_key.h
index da5cb4359..2263d2f31 100644
--- a/src/libstrongswan/crypto/rsa/rsa_private_key.h
+++ b/src/libstrongswan/crypto/rsa/rsa_private_key.h
@@ -24,26 +24,25 @@
#ifndef RSA_PRIVATE_KEY_H_
#define RSA_PRIVATE_KEY_H_
+typedef struct rsa_private_key_t rsa_private_key_t;
+
#include <types.h>
#include <definitions.h>
#include <crypto/rsa/rsa_public_key.h>
#include <crypto/hashers/hasher.h>
-
-typedef struct rsa_private_key_t rsa_private_key_t;
-
/**
* @brief RSA private key with associated functions.
- *
+ *
* Currently only supports signing using EMSA encoding.
- *
+ *
* @b Constructors:
* - rsa_private_key_create()
* - rsa_private_key_create_from_chunk()
* - rsa_private_key_create_from_file()
*
* @see rsa_public_key_t
- *
+ *
* @todo Implement get_key(), save_key(), get_public_key()
*
* @ingroup rsa