diff options
author | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-04-01 20:56:41 +0000 |
---|---|---|
committer | Rene Mayrhofer <rene@mayrhofer.eu.org> | 2009-04-01 20:56:41 +0000 |
commit | f46b6f36ae2a46f92f69b096a58d6ff96726a9ed (patch) | |
tree | 370b1aa2e1f2f4b5c3dd8ee9a4749c9c6e79575f /src/libstrongswan/plugins | |
parent | 188bacbfe68aa6cbbaaa6cbd26b334f634f23871 (diff) | |
download | vyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.tar.gz vyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.zip |
- New upstream release to hopefully compile on sid.
Diffstat (limited to 'src/libstrongswan/plugins')
67 files changed, 92 insertions, 87 deletions
diff --git a/src/libstrongswan/plugins/aes/aes_crypter.h b/src/libstrongswan/plugins/aes/aes_crypter.h index e42a6bc5b..19ea6b4b7 100644 --- a/src/libstrongswan/plugins/aes/aes_crypter.h +++ b/src/libstrongswan/plugins/aes/aes_crypter.h @@ -47,4 +47,4 @@ struct aes_crypter_t { aes_crypter_t *aes_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* AES_CRYPTER_H_ @}*/ +#endif /** AES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/aes/aes_plugin.h b/src/libstrongswan/plugins/aes/aes_plugin.h index 4cf0bc15e..a6ff620ed 100644 --- a/src/libstrongswan/plugins/aes/aes_plugin.h +++ b/src/libstrongswan/plugins/aes/aes_plugin.h @@ -44,4 +44,4 @@ struct aes_plugin_t { */ plugin_t *plugin_create(); -#endif /* AES_PLUGIN_H_ @}*/ +#endif /** AES_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/agent/agent_plugin.h b/src/libstrongswan/plugins/agent/agent_plugin.h index d12dd44ac..33a5dcb53 100644 --- a/src/libstrongswan/plugins/agent/agent_plugin.h +++ b/src/libstrongswan/plugins/agent/agent_plugin.h @@ -44,4 +44,4 @@ struct agent_plugin_t { */ plugin_t *plugin_create(); -#endif /* AGENT_PLUGIN_H_ @}*/ +#endif /** AGENT_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/agent/agent_private_key.h b/src/libstrongswan/plugins/agent/agent_private_key.h index 4d678dd08..929e88a50 100644 --- a/src/libstrongswan/plugins/agent/agent_private_key.h +++ b/src/libstrongswan/plugins/agent/agent_private_key.h @@ -44,5 +44,5 @@ struct agent_private_key_t { */ builder_t *agent_private_key_builder(key_type_t type); -#endif /*AGENT_PRIVATE_KEY_H_ @}*/ +#endif /** AGENT_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/curl/curl_fetcher.h b/src/libstrongswan/plugins/curl/curl_fetcher.h index 3028eac1b..043beb834 100644 --- a/src/libstrongswan/plugins/curl/curl_fetcher.h +++ b/src/libstrongswan/plugins/curl/curl_fetcher.h @@ -44,4 +44,4 @@ struct curl_fetcher_t { */ curl_fetcher_t *curl_fetcher_create(); -#endif /* CURL_FETCHER_H_ @}*/ +#endif /** CURL_FETCHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/curl/curl_plugin.h b/src/libstrongswan/plugins/curl/curl_plugin.h index 73166a25b..1b748446b 100644 --- a/src/libstrongswan/plugins/curl/curl_plugin.h +++ b/src/libstrongswan/plugins/curl/curl_plugin.h @@ -44,4 +44,4 @@ struct curl_plugin_t { */ plugin_t *plugin_create(); -#endif /* CURL_PLUGIN_H_ @}*/ +#endif /** CURL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/des/des_crypter.h b/src/libstrongswan/plugins/des/des_crypter.h index d40d9cf2f..623b292fc 100644 --- a/src/libstrongswan/plugins/des/des_crypter.h +++ b/src/libstrongswan/plugins/des/des_crypter.h @@ -46,4 +46,4 @@ struct des_crypter_t { des_crypter_t *des_crypter_create(encryption_algorithm_t algo); -#endif /* DES_CRYPTER_H_ @}*/ +#endif /** DES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/des/des_plugin.h b/src/libstrongswan/plugins/des/des_plugin.h index 8cabd082b..17df220bc 100644 --- a/src/libstrongswan/plugins/des/des_plugin.h +++ b/src/libstrongswan/plugins/des/des_plugin.h @@ -44,4 +44,4 @@ struct des_plugin_t { */ plugin_t *plugin_create(); -#endif /* DES_PLUGIN_H_ @}*/ +#endif /** DES_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/fips_prf/fips_prf.h b/src/libstrongswan/plugins/fips_prf/fips_prf.h index 3fead6b9b..b2940be72 100644 --- a/src/libstrongswan/plugins/fips_prf/fips_prf.h +++ b/src/libstrongswan/plugins/fips_prf/fips_prf.h @@ -56,4 +56,4 @@ struct fips_prf_t { */ fips_prf_t *fips_prf_create(pseudo_random_function_t algo); -#endif /* FIPS_PRF_H_ @}*/ +#endif /** FIPS_PRF_H_ @}*/ diff --git a/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h b/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h index 6816eb66f..8d65254ba 100644 --- a/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h +++ b/src/libstrongswan/plugins/fips_prf/fips_prf_plugin.h @@ -44,4 +44,4 @@ struct fips_prf_plugin_t { */ plugin_t *plugin_create(); -#endif /* FIPS_PRF_PLUGIN_H_ @}*/ +#endif /** FIPS_PRF_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h b/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h index e2d4d6851..774c31cc2 100644 --- a/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h +++ b/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.h @@ -45,5 +45,5 @@ struct gmp_diffie_hellman_t { */ gmp_diffie_hellman_t *gmp_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*GMP_DIFFIE_HELLMAN_H_ @}*/ +#endif /** GMP_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_plugin.h b/src/libstrongswan/plugins/gmp/gmp_plugin.h index a853064b7..d707d78ea 100644 --- a/src/libstrongswan/plugins/gmp/gmp_plugin.h +++ b/src/libstrongswan/plugins/gmp/gmp_plugin.h @@ -44,4 +44,4 @@ struct gmp_plugin_t { */ plugin_t *plugin_create(); -#endif /* GMP_PLUGIN_H_ @}*/ +#endif /** GMP_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h index 6f59b2ad2..d47e2583d 100644 --- a/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h +++ b/src/libstrongswan/plugins/gmp/gmp_rsa_private_key.h @@ -44,5 +44,5 @@ struct gmp_rsa_private_key_t { */ builder_t *gmp_rsa_private_key_builder(key_type_t type); -#endif /*GMP_RSA_PRIVATE_KEY_H_ @}*/ +#endif /** GMP_RSA_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h index 2e502b7e6..46c8c3fd8 100644 --- a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h +++ b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.h @@ -13,7 +13,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: gmp_rsa_public_key.h 3721 2008-04-01 14:51:31Z martin $ + * $Id: gmp_rsa_public_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -47,4 +47,4 @@ struct gmp_rsa_public_key_t { */ builder_t *gmp_rsa_public_key_builder(key_type_t type); -#endif /*GMP_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** GMP_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac.h b/src/libstrongswan/plugins/hmac/hmac.h index 5f266e133..a204d3b17 100644 --- a/src/libstrongswan/plugins/hmac/hmac.h +++ b/src/libstrongswan/plugins/hmac/hmac.h @@ -90,4 +90,4 @@ struct hmac_t { */ hmac_t *hmac_create(hash_algorithm_t hash_algorithm); -#endif /*HMAC_H_ @}*/ +#endif /** HMAC_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_plugin.c b/src/libstrongswan/plugins/hmac/hmac_plugin.c index a0afc2a85..7a09b7a4e 100644 --- a/src/libstrongswan/plugins/hmac/hmac_plugin.c +++ b/src/libstrongswan/plugins/hmac/hmac_plugin.c @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: hmac_plugin.c 4309 2008-08-28 11:07:57Z martin $ + * $Id: hmac_plugin.c 4997 2009-03-24 10:24:58Z martin $ */ #include "hmac_plugin.h" @@ -74,6 +74,8 @@ plugin_t *plugin_create() (signer_constructor_t)hmac_signer_create); lib->crypto->add_signer(lib->crypto, AUTH_HMAC_MD5_96, (signer_constructor_t)hmac_signer_create); + lib->crypto->add_signer(lib->crypto, AUTH_HMAC_MD5_128, + (signer_constructor_t)hmac_signer_create); lib->crypto->add_signer(lib->crypto, AUTH_HMAC_SHA2_384_192, (signer_constructor_t)hmac_signer_create); lib->crypto->add_signer(lib->crypto, AUTH_HMAC_SHA2_512_256, diff --git a/src/libstrongswan/plugins/hmac/hmac_plugin.h b/src/libstrongswan/plugins/hmac/hmac_plugin.h index 55ba0b5f4..5c3afa7d6 100644 --- a/src/libstrongswan/plugins/hmac/hmac_plugin.h +++ b/src/libstrongswan/plugins/hmac/hmac_plugin.h @@ -44,4 +44,4 @@ struct hmac_plugin_t { */ plugin_t *plugin_create(); -#endif /* HMAC_PLUGIN_H_ @}*/ +#endif /** HMAC_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_prf.h b/src/libstrongswan/plugins/hmac/hmac_prf.h index 46d05f03a..aa75272e1 100644 --- a/src/libstrongswan/plugins/hmac/hmac_prf.h +++ b/src/libstrongswan/plugins/hmac/hmac_prf.h @@ -48,4 +48,4 @@ struct hmac_prf_t { */ hmac_prf_t *hmac_prf_create(pseudo_random_function_t algo); -#endif /*PRF_HMAC_SHA1_H_ @}*/ +#endif /** PRF_HMAC_SHA1_H_ @}*/ diff --git a/src/libstrongswan/plugins/hmac/hmac_signer.c b/src/libstrongswan/plugins/hmac/hmac_signer.c index cdfc819f1..89cae1716 100644 --- a/src/libstrongswan/plugins/hmac/hmac_signer.c +++ b/src/libstrongswan/plugins/hmac/hmac_signer.c @@ -13,7 +13,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: hmac_signer.c 3488 2008-02-21 15:10:02Z martin $ + * $Id: hmac_signer.c 4997 2009-03-24 10:24:58Z martin $ */ #include <string.h> @@ -159,6 +159,10 @@ hmac_signer_t *hmac_signer_create(integrity_algorithm_t algo) hash = HASH_MD5; trunc = 12; break; + case AUTH_HMAC_MD5_128: + hash = HASH_MD5; + trunc = 16; + break; case AUTH_HMAC_SHA2_256_128: hash = HASH_SHA256; trunc = 16; diff --git a/src/libstrongswan/plugins/hmac/hmac_signer.h b/src/libstrongswan/plugins/hmac/hmac_signer.h index 969f482e7..197e28fa7 100644 --- a/src/libstrongswan/plugins/hmac/hmac_signer.h +++ b/src/libstrongswan/plugins/hmac/hmac_signer.h @@ -52,4 +52,4 @@ struct hmac_signer_t { */ hmac_signer_t *hmac_signer_create(integrity_algorithm_t algo); -#endif /*HMAC_SIGNER_H_ @}*/ +#endif /** HMAC_SIGNER_H_ @}*/ diff --git a/src/libstrongswan/plugins/ldap/ldap_fetcher.h b/src/libstrongswan/plugins/ldap/ldap_fetcher.h index bde60c799..30a141bae 100644 --- a/src/libstrongswan/plugins/ldap/ldap_fetcher.h +++ b/src/libstrongswan/plugins/ldap/ldap_fetcher.h @@ -39,4 +39,4 @@ struct ldap_fetcher_t { */ ldap_fetcher_t *ldap_fetcher_create(); -#endif /* LDAP_FETCHER_H_ @}*/ +#endif /** LDAP_FETCHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/ldap/ldap_plugin.h b/src/libstrongswan/plugins/ldap/ldap_plugin.h index 7b2bb3232..de4ff3422 100644 --- a/src/libstrongswan/plugins/ldap/ldap_plugin.h +++ b/src/libstrongswan/plugins/ldap/ldap_plugin.h @@ -44,4 +44,4 @@ struct ldap_plugin_t { */ plugin_t *plugin_create(); -#endif /* LDAP_PLUGIN_H_ @}*/ +#endif /** LDAP_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/md4/md4_hasher.h b/src/libstrongswan/plugins/md4/md4_hasher.h index 75956fde6..b0b8c65d2 100644 --- a/src/libstrongswan/plugins/md4/md4_hasher.h +++ b/src/libstrongswan/plugins/md4/md4_hasher.h @@ -45,4 +45,4 @@ struct md4_hasher_t { */ md4_hasher_t *md4_hasher_create(hash_algorithm_t algo); -#endif /*MD4_HASHER_H_@}*/ +#endif /** MD4_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/md4/md4_plugin.h b/src/libstrongswan/plugins/md4/md4_plugin.h index 965bff261..b13002d7b 100644 --- a/src/libstrongswan/plugins/md4/md4_plugin.h +++ b/src/libstrongswan/plugins/md4/md4_plugin.h @@ -44,4 +44,4 @@ struct md4_plugin_t { */ plugin_t *plugin_create(); -#endif /* MD4_PLUGIN_H_ @}*/ +#endif /** MD4_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/md5/md5_hasher.h b/src/libstrongswan/plugins/md5/md5_hasher.h index d4a0417ab..0064c177b 100644 --- a/src/libstrongswan/plugins/md5/md5_hasher.h +++ b/src/libstrongswan/plugins/md5/md5_hasher.h @@ -45,4 +45,4 @@ struct md5_hasher_t { */ md5_hasher_t *md5_hasher_create(hash_algorithm_t algo); -#endif /*MD5_HASHER_H_@}*/ +#endif /** MD5_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/md5/md5_plugin.h b/src/libstrongswan/plugins/md5/md5_plugin.h index e8e8dd535..057689ad3 100644 --- a/src/libstrongswan/plugins/md5/md5_plugin.h +++ b/src/libstrongswan/plugins/md5/md5_plugin.h @@ -44,4 +44,4 @@ struct md5_plugin_t { */ plugin_t *plugin_create(); -#endif /* MD5_PLUGIN_H_ @}*/ +#endif /** MD5_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/mysql/mysql_database.h b/src/libstrongswan/plugins/mysql/mysql_database.h index d04aa79fa..98ddcad36 100644 --- a/src/libstrongswan/plugins/mysql/mysql_database.h +++ b/src/libstrongswan/plugins/mysql/mysql_database.h @@ -39,7 +39,7 @@ struct mysql_database_t { /** * Create a mysql_database instance. * - * @param uri connection URI, mysql://user:pass@host:port/database + * @param uri connection URI, mysql://user:pass@example.com:port/database */ mysql_database_t *mysql_database_create(char *uri); @@ -55,4 +55,4 @@ bool mysql_database_init(); */ void mysql_database_deinit(); -#endif /* MYSQL_DATABASE_H_ @}*/ +#endif /** MYSQL_DATABASE_H_ @}*/ diff --git a/src/libstrongswan/plugins/mysql/mysql_plugin.h b/src/libstrongswan/plugins/mysql/mysql_plugin.h index dbcabaafe..fa53c2b7a 100644 --- a/src/libstrongswan/plugins/mysql/mysql_plugin.h +++ b/src/libstrongswan/plugins/mysql/mysql_plugin.h @@ -44,4 +44,4 @@ struct mysql_plugin_t { */ plugin_t *plugin_create(); -#endif /* MYSQL_PLUGIN_H_ @}*/ +#endif /** MYSQL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_crypter.h b/src/libstrongswan/plugins/openssl/openssl_crypter.h index f80d0dec6..4510fb7ee 100644 --- a/src/libstrongswan/plugins/openssl/openssl_crypter.h +++ b/src/libstrongswan/plugins/openssl/openssl_crypter.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_crypter.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_crypter.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -48,4 +48,4 @@ struct openssl_crypter_t { openssl_crypter_t *openssl_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* OPENSSL_CRYPTER_H_ @}*/ +#endif /** OPENSSL_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h index c72b4aab0..c67ce8970 100644 --- a/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h +++ b/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_diffie_hellman.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_diffie_hellman.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,5 +46,5 @@ struct openssl_diffie_hellman_t { */ openssl_diffie_hellman_t *openssl_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*OPENSSL_DIFFIE_HELLMAN_H_ @}*/ +#endif /** OPENSSL_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h index e89f1cbd7..6b135b36b 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_ec_diffie_hellman.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_ec_diffie_hellman.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,5 +46,5 @@ struct openssl_ec_diffie_hellman_t { */ openssl_ec_diffie_hellman_t *openssl_ec_diffie_hellman_create(diffie_hellman_group_t group); -#endif /*OPENSSL_EC_DIFFIE_HELLMAN_H_ @}*/ +#endif /** OPENSSL_EC_DIFFIE_HELLMAN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h index 629fc9574..29588ce18 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_private_key.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_ec_private_key.h 4051 2008-06-10 09:08:27Z tobias $ + * $Id: openssl_ec_private_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct openssl_ec_private_key_t { */ builder_t *openssl_ec_private_key_builder(key_type_t type); -#endif /*OPENSSL_EC_PRIVATE_KEY_H_ @}*/ +#endif /** OPENSSL_EC_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h index 92684402c..83552d590 100644 --- a/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_ec_public_key.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_ec_public_key.h 4051 2008-06-10 09:08:27Z tobias $ + * $Id: openssl_ec_public_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct openssl_ec_public_key_t { */ builder_t *openssl_ec_public_key_builder(key_type_t type); -#endif /*OPENSSL_EC_PUBLIC_KEY_H_ @}*/ +#endif /** OPENSSL_EC_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_hasher.h b/src/libstrongswan/plugins/openssl/openssl_hasher.h index f776e9fd4..52699f7ff 100644 --- a/src/libstrongswan/plugins/openssl/openssl_hasher.h +++ b/src/libstrongswan/plugins/openssl/openssl_hasher.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_hasher.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_hasher.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -42,9 +42,8 @@ struct openssl_hasher_t { * Constructor to create openssl_hasher_t. * * @param algo algorithm - * @param key_size key size in bytes * @return openssl_hasher_t, NULL if not supported */ openssl_hasher_t *openssl_hasher_create(hash_algorithm_t algo); -#endif /* OPENSSL_HASHER_H_ @}*/ +#endif /** OPENSSL_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_plugin.h b/src/libstrongswan/plugins/openssl/openssl_plugin.h index 40f741dfa..a6d2a060e 100644 --- a/src/libstrongswan/plugins/openssl/openssl_plugin.h +++ b/src/libstrongswan/plugins/openssl/openssl_plugin.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_plugin.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_plugin.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct openssl_plugin_t { */ plugin_t *plugin_create(); -#endif /* OPENSSL_PLUGIN_H_ @}*/ +#endif /** OPENSSL_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h b/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h index 81d81b2db..05d83416c 100644 --- a/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_rsa_private_key.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_rsa_private_key.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_rsa_private_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct openssl_rsa_private_key_t { */ builder_t *openssl_rsa_private_key_builder(key_type_t type); -#endif /*OPENSSL_RSA_PRIVATE_KEY_H_ @}*/ +#endif /** OPENSSL_RSA_PRIVATE_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h b/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h index 570fb69cb..c97ba1b92 100644 --- a/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h +++ b/src/libstrongswan/plugins/openssl/openssl_rsa_public_key.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_rsa_public_key.h 4000 2008-05-22 12:13:10Z tobias $ + * $Id: openssl_rsa_public_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct openssl_rsa_public_key_t { */ builder_t *openssl_rsa_public_key_builder(key_type_t type); -#endif /*OPENSSL_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** OPENSSL_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/openssl/openssl_util.h b/src/libstrongswan/plugins/openssl/openssl_util.h index 2dbd5054e..e780e2a25 100644 --- a/src/libstrongswan/plugins/openssl/openssl_util.h +++ b/src/libstrongswan/plugins/openssl/openssl_util.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: openssl_util.h 4051 2008-06-10 09:08:27Z tobias $ + * $Id: openssl_util.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -67,4 +67,4 @@ bool openssl_bn_cat(int len, BIGNUM *a, BIGNUM *b, chunk_t *chunk); */ bool openssl_bn_split(chunk_t chunk, BIGNUM *a, BIGNUM *b); -#endif /*OPENSSL_UTIL_H_ @}*/ +#endif /** OPENSSL_UTIL_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h b/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h index e8b01633d..d8ac9c2a0 100644 --- a/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h +++ b/src/libstrongswan/plugins/padlock/padlock_aes_crypter.h @@ -47,4 +47,4 @@ struct padlock_aes_crypter_t { padlock_aes_crypter_t *padlock_aes_crypter_create(encryption_algorithm_t algo, size_t key_size); -#endif /* PADLOCK_AES_CRYPTER_H_ @}*/ +#endif /** PADLOCK_AES_CRYPTER_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_plugin.h b/src/libstrongswan/plugins/padlock/padlock_plugin.h index 7e013a5f7..76f4d1135 100644 --- a/src/libstrongswan/plugins/padlock/padlock_plugin.h +++ b/src/libstrongswan/plugins/padlock/padlock_plugin.h @@ -44,4 +44,4 @@ struct padlock_plugin_t { */ plugin_t *plugin_create(); -#endif /* PADLOCK_PLUGIN_H_ @}*/ +#endif /** PADLOCK_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_rng.h b/src/libstrongswan/plugins/padlock/padlock_rng.h index a76ecd296..505f4649c 100644 --- a/src/libstrongswan/plugins/padlock/padlock_rng.h +++ b/src/libstrongswan/plugins/padlock/padlock_rng.h @@ -17,7 +17,7 @@ /** * @defgroup padlock_rng padlock_rng - * @{ @ingroup padlock + * @{ @ingroup padlock_p */ #ifndef PADLOCK_RNG_H_ @@ -46,4 +46,4 @@ struct padlock_rng_t { */ padlock_rng_t *padlock_rng_create(rng_quality_t quality); -#endif /* PADLOCK_RNG_ @}*/ +#endif /** PADLOCK_RNG_ @}*/ diff --git a/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h b/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h index 6855b827f..afa1e046d 100644 --- a/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h +++ b/src/libstrongswan/plugins/padlock/padlock_sha1_hasher.h @@ -16,7 +16,7 @@ /** * @defgroup sha1_hasher sha1_hasher - * @{ @ingroup sha1_p + * @{ @ingroup padlock_p */ #ifndef PADLOCK_SHA1_HASHER_H_ @@ -45,4 +45,4 @@ struct padlock_sha1_hasher_t { */ padlock_sha1_hasher_t *padlock_sha1_hasher_create(hash_algorithm_t algo); -#endif /*SHA1_HASHER_H_ @}*/ +#endif /** SHA1_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/plugin.h b/src/libstrongswan/plugins/plugin.h index cf0b728a3..6ca71540c 100644 --- a/src/libstrongswan/plugins/plugin.h +++ b/src/libstrongswan/plugins/plugin.h @@ -46,4 +46,4 @@ struct plugin_t { */ typedef plugin_t *(*plugin_constructor_t)(void); -#endif /* PLUGIN_H_ @}*/ +#endif /** PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/plugin_loader.h b/src/libstrongswan/plugins/plugin_loader.h index bd24e7558..6230f9d68 100644 --- a/src/libstrongswan/plugins/plugin_loader.h +++ b/src/libstrongswan/plugins/plugin_loader.h @@ -64,4 +64,4 @@ struct plugin_loader_t { */ plugin_loader_t *plugin_loader_create(); -#endif /* PLUGIN_LOADER_H_ @}*/ +#endif /** PLUGIN_LOADER_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_cert.h b/src/libstrongswan/plugins/pubkey/pubkey_cert.h index 71ffe5099..b04824fee 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_cert.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_cert.h @@ -48,4 +48,4 @@ struct pubkey_cert_t { */ builder_t *pubkey_cert_builder(certificate_type_t type); -#endif /* PUBKEY_CERT_H_ @}*/ +#endif /** PUBKEY_CERT_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_plugin.h b/src/libstrongswan/plugins/pubkey/pubkey_plugin.h index 64d0995fc..a3fd2f155 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_plugin.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_plugin.h @@ -44,4 +44,4 @@ struct pubkey_plugin_t { */ plugin_t *plugin_create(); -#endif /* PUBKEY_PLUGIN_H_ @}*/ +#endif /** PUBKEY_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/pubkey/pubkey_public_key.h b/src/libstrongswan/plugins/pubkey/pubkey_public_key.h index 914ad74e9..0545feeee 100644 --- a/src/libstrongswan/plugins/pubkey/pubkey_public_key.h +++ b/src/libstrongswan/plugins/pubkey/pubkey_public_key.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: pubkey_public_key.h 3961 2008-05-15 12:33:00Z tobias $ + * $Id: pubkey_public_key.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -33,4 +33,4 @@ */ builder_t *pubkey_public_key_builder(key_type_t type); -#endif /*PUBKEY_RSA_PUBLIC_KEY_H_ @}*/ +#endif /** PUBKEY_RSA_PUBLIC_KEY_H_ @}*/ diff --git a/src/libstrongswan/plugins/random/random_plugin.h b/src/libstrongswan/plugins/random/random_plugin.h index 9e8b99387..8145c7875 100644 --- a/src/libstrongswan/plugins/random/random_plugin.h +++ b/src/libstrongswan/plugins/random/random_plugin.h @@ -44,4 +44,4 @@ struct random_plugin_t { */ plugin_t *plugin_create(); -#endif /* RANDOM_PLUGIN_H_ @}*/ +#endif /** RANDOM_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/random/random_rng.h b/src/libstrongswan/plugins/random/random_rng.h index 7f82353d8..3426d694e 100644 --- a/src/libstrongswan/plugins/random/random_rng.h +++ b/src/libstrongswan/plugins/random/random_rng.h @@ -17,7 +17,7 @@ /** * @defgroup random_rng random_rng - * @{ @ingroup utils + * @{ @ingroup random_p */ #ifndef RANDOM_RNG_H_ @@ -46,4 +46,4 @@ struct random_rng_t { */ random_rng_t *random_rng_create(rng_quality_t quality); -#endif /*RANDOM_RNG_H_ @} */ +#endif /** RANDOM_RNG_H_ @} */ diff --git a/src/libstrongswan/plugins/sha1/sha1_hasher.h b/src/libstrongswan/plugins/sha1/sha1_hasher.h index 7dcb0b8b3..b9bfe1c86 100644 --- a/src/libstrongswan/plugins/sha1/sha1_hasher.h +++ b/src/libstrongswan/plugins/sha1/sha1_hasher.h @@ -45,4 +45,4 @@ struct sha1_hasher_t { */ sha1_hasher_t *sha1_hasher_create(hash_algorithm_t algo); -#endif /*SHA1_HASHER_H_ @}*/ +#endif /** SHA1_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha1/sha1_plugin.h b/src/libstrongswan/plugins/sha1/sha1_plugin.h index 82ab04c86..36b12b91e 100644 --- a/src/libstrongswan/plugins/sha1/sha1_plugin.h +++ b/src/libstrongswan/plugins/sha1/sha1_plugin.h @@ -44,4 +44,4 @@ struct sha1_plugin_t { */ plugin_t *plugin_create(); -#endif /* SHA1_PLUGIN_H_ @}*/ +#endif /** SHA1_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha1/sha1_prf.h b/src/libstrongswan/plugins/sha1/sha1_prf.h index a0f56b681..b6cd2f9d0 100644 --- a/src/libstrongswan/plugins/sha1/sha1_prf.h +++ b/src/libstrongswan/plugins/sha1/sha1_prf.h @@ -44,4 +44,4 @@ struct sha1_prf_t { */ sha1_prf_t *sha1_prf_create(pseudo_random_function_t algo); -#endif /*SHA1_PRF_H_ @}*/ +#endif /** SHA1_PRF_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha2/sha2_hasher.h b/src/libstrongswan/plugins/sha2/sha2_hasher.h index 6d732495a..11f4fac26 100644 --- a/src/libstrongswan/plugins/sha2/sha2_hasher.h +++ b/src/libstrongswan/plugins/sha2/sha2_hasher.h @@ -47,4 +47,4 @@ struct sha2_hasher_t { */ sha2_hasher_t *sha2_hasher_create(hash_algorithm_t algorithm); -#endif /* SHA2_HASHER_H_ @}*/ +#endif /** SHA2_HASHER_H_ @}*/ diff --git a/src/libstrongswan/plugins/sha2/sha2_plugin.h b/src/libstrongswan/plugins/sha2/sha2_plugin.h index 859597758..b80f7560e 100644 --- a/src/libstrongswan/plugins/sha2/sha2_plugin.h +++ b/src/libstrongswan/plugins/sha2/sha2_plugin.h @@ -44,4 +44,4 @@ struct sha2_plugin_t { */ plugin_t *plugin_create(); -#endif /* SHA2_PLUGIN_H_ @}*/ +#endif /** SHA2_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/sqlite/sqlite_database.h b/src/libstrongswan/plugins/sqlite/sqlite_database.h index 795785627..75f89a7ed 100644 --- a/src/libstrongswan/plugins/sqlite/sqlite_database.h +++ b/src/libstrongswan/plugins/sqlite/sqlite_database.h @@ -43,4 +43,4 @@ struct sqlite_database_t { */ sqlite_database_t *sqlite_database_create(char *uri); -#endif /* SQLITE_DATABASE_H_ @}*/ +#endif /** SQLITE_DATABASE_H_ @}*/ diff --git a/src/libstrongswan/plugins/sqlite/sqlite_plugin.h b/src/libstrongswan/plugins/sqlite/sqlite_plugin.h index 07bf9618f..82735a311 100644 --- a/src/libstrongswan/plugins/sqlite/sqlite_plugin.h +++ b/src/libstrongswan/plugins/sqlite/sqlite_plugin.h @@ -44,4 +44,4 @@ struct sqlite_plugin_t { */ plugin_t *plugin_create(); -#endif /* SQLITE_PLUGIN_H_ @}*/ +#endif /** SQLITE_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/ietf_attr_list.h b/src/libstrongswan/plugins/x509/ietf_attr_list.h index e3e4add61..983c67d14 100644 --- a/src/libstrongswan/plugins/x509/ietf_attr_list.h +++ b/src/libstrongswan/plugins/x509/ietf_attr_list.h @@ -77,5 +77,5 @@ chunk_t ietfAttr_list_encode(linked_list_t *list); */ void ietfAttr_list_destroy(linked_list_t *list); -#endif /* IETF_ATTR_LIST_H_ @}*/ +#endif /** IETF_ATTR_LIST_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ac.h b/src/libstrongswan/plugins/x509/x509_ac.h index 2fd165e45..5df9c5f8a 100644 --- a/src/libstrongswan/plugins/x509/x509_ac.h +++ b/src/libstrongswan/plugins/x509/x509_ac.h @@ -56,4 +56,4 @@ struct x509_ac_t { */ builder_t *x509_ac_builder(certificate_type_t type); -#endif /* X509_AC_H_ @}*/ +#endif /** X509_AC_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_cert.h b/src/libstrongswan/plugins/x509/x509_cert.h index 701cc3d63..8dbd8050a 100644 --- a/src/libstrongswan/plugins/x509/x509_cert.h +++ b/src/libstrongswan/plugins/x509/x509_cert.h @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: x509_cert.h 3650 2008-03-22 08:15:18Z andreas $ + * $Id: x509_cert.h 5003 2009-03-24 17:43:01Z martin $ */ /** @@ -46,4 +46,4 @@ struct x509_cert_t { */ builder_t *x509_cert_builder(certificate_type_t type); -#endif /* X509_CERT_H_ @}*/ +#endif /** X509_CERT_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_crl.h b/src/libstrongswan/plugins/x509/x509_crl.h index 0d9e5cca4..daa8e4846 100644 --- a/src/libstrongswan/plugins/x509/x509_crl.h +++ b/src/libstrongswan/plugins/x509/x509_crl.h @@ -45,4 +45,4 @@ struct x509_crl_t { */ builder_t *x509_crl_builder(certificate_type_t type); -#endif /* X509_CRL_H_ @}*/ +#endif /** X509_CRL_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_request.h b/src/libstrongswan/plugins/x509/x509_ocsp_request.h index 0a4016f65..ffaa3c634 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_request.h +++ b/src/libstrongswan/plugins/x509/x509_ocsp_request.h @@ -51,4 +51,4 @@ struct x509_ocsp_request_t { */ builder_t *x509_ocsp_request_builder(certificate_type_t type); -#endif /* X509_OCSP_REQUEST_H_ @}*/ +#endif /** X509_OCSP_REQUEST_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_response.h b/src/libstrongswan/plugins/x509/x509_ocsp_response.h index 8b4c8328d..06a9fd3c7 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_response.h +++ b/src/libstrongswan/plugins/x509/x509_ocsp_response.h @@ -44,4 +44,4 @@ struct x509_ocsp_response_t { */ builder_t *x509_ocsp_response_builder(certificate_type_t type); -#endif /* X509_OCSP_RESPONSE_H_ @}*/ +#endif /** X509_OCSP_RESPONSE_H_ @}*/ diff --git a/src/libstrongswan/plugins/x509/x509_plugin.h b/src/libstrongswan/plugins/x509/x509_plugin.h index 9743a2367..fe8c0b31f 100644 --- a/src/libstrongswan/plugins/x509/x509_plugin.h +++ b/src/libstrongswan/plugins/x509/x509_plugin.h @@ -44,4 +44,4 @@ struct x509_plugin_t { */ plugin_t *plugin_create(); -#endif /* X509_PLUGIN_H_ @}*/ +#endif /** X509_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc.h b/src/libstrongswan/plugins/xcbc/xcbc.h index 81812442e..a334c675b 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc.h +++ b/src/libstrongswan/plugins/xcbc/xcbc.h @@ -75,4 +75,4 @@ struct xcbc_t { */ xcbc_t *xcbc_create(encryption_algorithm_t algo, size_t key_size); -#endif /*xcbc_H_ @}*/ +#endif /** XCBC_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_plugin.h b/src/libstrongswan/plugins/xcbc/xcbc_plugin.h index 728d84690..803d847aa 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_plugin.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_plugin.h @@ -44,4 +44,4 @@ struct xcbc_plugin_t { */ plugin_t *plugin_create(); -#endif /* XCBC_PLUGIN_H_ @}*/ +#endif /** XCBC_PLUGIN_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_prf.h b/src/libstrongswan/plugins/xcbc/xcbc_prf.h index e8692ae23..bbf5b972a 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_prf.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_prf.h @@ -47,4 +47,4 @@ struct xcbc_prf_t { */ xcbc_prf_t *xcbc_prf_create(pseudo_random_function_t algo); -#endif /*PRF_XCBC_SHA1_H_ @}*/ +#endif /** PRF_XCBC_SHA1_H_ @}*/ diff --git a/src/libstrongswan/plugins/xcbc/xcbc_signer.h b/src/libstrongswan/plugins/xcbc/xcbc_signer.h index c7eff7e17..dc0087392 100644 --- a/src/libstrongswan/plugins/xcbc/xcbc_signer.h +++ b/src/libstrongswan/plugins/xcbc/xcbc_signer.h @@ -18,8 +18,8 @@ * @{ @ingroup xcbc_p */ -#ifndef xcbc_SIGNER_H_ -#define xcbc_SIGNER_H_ +#ifndef XCBC_SIGNER_H_ +#define XCBC_SIGNER_H_ typedef struct xcbc_signer_t xcbc_signer_t; @@ -44,4 +44,4 @@ struct xcbc_signer_t { */ xcbc_signer_t *xcbc_signer_create(integrity_algorithm_t algo); -#endif /*xcbc_SIGNER_H_ @}*/ +#endif /** XCBC_SIGNER_H_ @}*/ |