aboutsummaryrefslogtreecommitdiffstats
path: root/c/sha3.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-02-05 11:24:04 +0100
committerMattias Andrée <maandree@operamail.com>2013-02-05 11:24:04 +0100
commitb0535bc247789a4f521762b2cd7560186d1f53ab (patch)
tree8ac7d28dce48cc553b15578f9653ba311258b836 /c/sha3.c
parentbeginning of porting c (diff)
downloadsha3sum-b0535bc247789a4f521762b2cd7560186d1f53ab.tar.gz
sha3sum-b0535bc247789a4f521762b2cd7560186d1f53ab.tar.bz2
sha3sum-b0535bc247789a4f521762b2cd7560186d1f53ab.tar.xz
remove two methods than cannot be used in c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--c/sha3.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/c/sha3.c b/c/sha3.c
index ba81e5a..d7f317f 100644
--- a/c/sha3.c
+++ b/c/sha3.c
@@ -379,17 +379,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
- *
* @param msg The partial message
* @param msglen The length of the partial message
*/
@@ -484,17 +473,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
- *
* @param msg The rest of the message
* @param msglen The length of the partial message
*/