4 * @brief Interface for the hasher_sha1_t
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * Hochschule fuer Technik Rapperswil
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 #ifndef HASHER_SHA1_H_
24 #define HASHER_SHA1_H_
26 #include <transforms/hashers/hasher.h>
29 typedef struct hasher_sha1_t hasher_sha1_t
;
32 * @brief Implementation of hasher_t interface using the
37 struct hasher_sha1_t
{
40 * generic hasher_t interface for this hasher
42 hasher_t hasher_interface
;
46 * @brief Creates a new hasher_sha1_t.
49 * - hasher_sha1_t if successfully
50 * - NULL if out of ressources
54 hasher_sha1_t
*hasher_sha1_create();
56 #endif /*HASHER_SHA1_H_*/