From b0535bc247789a4f521762b2cd7560186d1f53ab Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Feb 2013 11:24:04 +0100 Subject: remove two methods than cannot be used in c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- c/sha3.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'c') diff --git a/c/sha3.c b/c/sha3.c index ba81e5a..d7f317f 100644 --- a/c/sha3.c +++ b/c/sha3.c @@ -376,17 +376,6 @@ extern void initialise(long r, long c, long n) } -/** - * Absorb the more of the message message to the Keccak sponge - * - * @param msg The partial message - */ -extern void update(byte* msg) -{ - update(msg, msg.length); -} - - /** * Absorb the more of the message message to the Keccak sponge * @@ -481,17 +470,6 @@ extern byte* digest() } -/** - * Absorb the last part of the message and squeeze the Keccak sponge - * - * @param msg The rest of the message - */ -extern byte* digest(byte* msg) -{ - return digest(msg, msg == null ? 0 : msg.length); -} - - /** * Absorb the last part of the message and squeeze the Keccak sponge * -- cgit v1.2.3-70-g09d2