added copyright notice to sha2_hasher
included SHA2 in build process
This commit is contained in:
@@ -117,7 +117,7 @@ struct private_proposal_t {
|
|||||||
/**
|
/**
|
||||||
* Add algorithm/keysize to a algorithm list
|
* 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;
|
algorithm_t *algo_key;
|
||||||
|
|
||||||
|
|||||||
@@ -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/crypters/des_crypter.c crypto/crypters/des_crypter.h\
|
||||||
crypto/hashers/hasher.h crypto/hashers/hasher.c \
|
crypto/hashers/hasher.h crypto/hashers/hasher.c \
|
||||||
crypto/hashers/sha1_hasher.c crypto/hashers/sha1_hasher.h \
|
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/hashers/md5_hasher.c crypto/hashers/md5_hasher.h \
|
||||||
crypto/prf_plus.h crypto/prf_plus.c \
|
crypto/prf_plus.h crypto/prf_plus.c \
|
||||||
crypto/hmac.c crypto/hmac.h \
|
crypto/hmac.c crypto/hmac.h \
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2006 Martin Willi
|
* Copyright (C) 2006 Martin Willi
|
||||||
* Hochschule fuer Technik Rapperswil
|
* Hochschule fuer Technik Rapperswil
|
||||||
|
* Copyright (C) 2001 Jari Ruusu.
|
||||||
*
|
*
|
||||||
* Ported from Steve Reid's <[email protected]> implementation
|
* Ported from strongSwans implementation written by Jari Ruusu.
|
||||||
* "SHA1 in C" found in strongSwan.
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* 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
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
|||||||
Reference in New Issue
Block a user