added copyright notice to sha2_hasher

included SHA2 in build process
This commit is contained in:
Martin Willi
2006-09-19 14:54:01 +00:00
parent e698dc4559
commit b5cac6684d
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ struct private_proposal_t {
/**
* Add algorithm/keysize to a algorithm list
*/
static void add_algo(linked_list_t *list, u_int8_t algo, size_t key_size)
static void add_algo(linked_list_t *list, u_int16_t algo, size_t key_size)
{
algorithm_t *algo_key;
+1
View File
@@ -19,6 +19,7 @@ crypto/crypters/aes_cbc_crypter.c crypto/crypters/aes_cbc_crypter.h\
crypto/crypters/des_crypter.c crypto/crypters/des_crypter.h\
crypto/hashers/hasher.h crypto/hashers/hasher.c \
crypto/hashers/sha1_hasher.c crypto/hashers/sha1_hasher.h \
crypto/hashers/sha2_hasher.c crypto/hashers/sha2_hasher.h \
crypto/hashers/md5_hasher.c crypto/hashers/md5_hasher.h \
crypto/prf_plus.h crypto/prf_plus.c \
crypto/hmac.c crypto/hmac.h \
@@ -8,9 +8,9 @@
/*
* Copyright (C) 2006 Martin Willi
* Hochschule fuer Technik Rapperswil
*
* Ported from Steve Reid's <[email protected]> implementation
* "SHA1 in C" found in strongSwan.
* Copyright (C) 2001 Jari Ruusu.
*
* Ported from strongSwans implementation written by Jari Ruusu.
*
* 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