From 5b1729bf7cdcc28bb818ee4af479d1ae5cb13c9f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Aug 2014 23:27:00 +0200 Subject: misc + add makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/keccak.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/keccak.h') diff --git a/src/keccak.h b/src/keccak.h index c52cd10..abe8dc2 100644 --- a/src/keccak.h +++ b/src/keccak.h @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -#include +#include #include @@ -39,7 +39,7 @@ void dispose(void); * @param msg The partial message * @param msglen The length of the partial message */ -void update(const int8_t* restrict msg, long msglen); +void update(const char* restrict msg, size_t msglen); /** @@ -49,7 +49,7 @@ void update(const int8_t* restrict msg, long msglen); * @param msglen The length of the partial message * @return The hash sum */ -int8_t* digest(const int8_t* restrict msg, long msglen); +char* digest(const char* restrict msg, size_t msglen); /** @@ -57,5 +57,5 @@ int8_t* digest(const int8_t* restrict msg, long msglen); * * @return The hash sum */ -int8_t* squeeze(void); +char* squeeze(void); -- cgit v1.2.3-70-g09d2