diff options
Diffstat (limited to 'branches/1.0/tinySAK/src/tsk_hmac.h')
-rw-r--r-- | branches/1.0/tinySAK/src/tsk_hmac.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/branches/1.0/tinySAK/src/tsk_hmac.h b/branches/1.0/tinySAK/src/tsk_hmac.h deleted file mode 100644 index e680ee6..0000000 --- a/branches/1.0/tinySAK/src/tsk_hmac.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -* Copyright (C) 2009-2010 Mamadou Diop. -* -* Contact: Mamadou Diop <diopmamadou(at)doubango.org> -* -* This file is part of Open Source Doubango Framework. -* -* DOUBANGO 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 3 of the License, or -* (at your option) any later version. -* -* DOUBANGO 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. -* -* You should have received a copy of the GNU General Public License -* along with DOUBANGO. -* -*/ - -/**@file tsk_hmac.h - * @brief HMAC: Keyed-Hashing for Message Authentication (RFC 2104) / FIPS-198-1. - * HMAC-MD5 and HMAC-SHA-1 are also implemented. - * - * @author Mamadou Diop <diopmamadou(at)doubango.org> - * - * @date Created: Sat Nov 8 16:54:58 2009 mdiop - */ -#ifndef _TINYSAK_HMAC_H_ -#define _TINYSAK_HMAC_H_ - -#include "tinysak_config.h" - -#include "tsk_sha1.h" -#include "tsk_md5.h" - -TSK_BEGIN_DECLS - -TINYSAK_API int hmac_md5_compute(const uint8_t* input, tsk_size_t input_size, const char* key, tsk_size_t key_size, tsk_md5string_t *result); -TINYSAK_API int hmac_md5digest_compute(const uint8_t* input, tsk_size_t input_size, const char* key, tsk_size_t key_size, tsk_md5digest_t result); - -TINYSAK_API int hmac_sha1_compute(const uint8_t* input, tsk_size_t input_size, const char* key, tsk_size_t key_size, tsk_sha1string_t *result); -TINYSAK_API int hmac_sha1digest_compute(const uint8_t* input, tsk_size_t input_size, const char* key, tsk_size_t key_size, tsk_sha1digest_t result); - -TSK_END_DECLS - -#endif /* _TINYSAK_HMAC_H_ */ |