diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-06-16 16:08:40 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-06-16 18:06:16 +0200 |
commit | 280effc0346de0b768e3328035fab0d3d79ae3db (patch) | |
tree | 1698eca296bfe9a48e01f521f7c8ea71d47d9b32 /src/pluto/alg/ike_alg_sha2.c | |
parent | fcb06fdbfa08aedeb843e6d66f1964f70bd6314b (diff) | |
download | strongswan-280effc0346de0b768e3328035fab0d3d79ae3db.tar.bz2 strongswan-280effc0346de0b768e3328035fab0d3d79ae3db.tar.xz |
moved ike_alg descriptions to crypto.c
Diffstat (limited to 'src/pluto/alg/ike_alg_sha2.c')
-rw-r--r-- | src/pluto/alg/ike_alg_sha2.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/pluto/alg/ike_alg_sha2.c b/src/pluto/alg/ike_alg_sha2.c deleted file mode 100644 index 455e2e342..000000000 --- a/src/pluto/alg/ike_alg_sha2.c +++ /dev/null @@ -1,42 +0,0 @@ -/* IKE SHA-2 hash algorithm description - * Copyright (C) JuanJo Ciarlante <jjo-ipsec@mendoza.gov.ar> - * Copyright (C) 2009 Andreas Steffen - * - * Hochschule fuer Technik Rapperswil - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * for more details. - */ - -#include <crypto/hashers/hasher.h> - -#include "ike_alg.h" - -struct hash_desc hash_desc_sha2_256 = { - algo_type: IKE_ALG_HASH, - algo_id: OAKLEY_SHA2_256, - algo_next: NULL, - hash_digest_size: HASH_SIZE_SHA256, -}; - -struct hash_desc hash_desc_sha2_384 = { - algo_type: IKE_ALG_HASH, - algo_id: OAKLEY_SHA2_384, - algo_next: NULL, - hash_digest_size: HASH_SIZE_SHA384, -}; - -struct hash_desc hash_desc_sha2_512 = { - algo_type: IKE_ALG_HASH, - algo_id: OAKLEY_SHA2_512, - algo_next: NULL, - hash_digest_size: HASH_SIZE_SHA512, -}; - |