aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_unmarshal_skip.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkeccak_state_unmarshal_skip.c')
-rw-r--r--libkeccak_state_unmarshal_skip.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libkeccak_state_unmarshal_skip.c b/libkeccak_state_unmarshal_skip.c
deleted file mode 100644
index 34a898a..0000000
--- a/libkeccak_state_unmarshal_skip.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#include "common.h"
-
-
-/**
- * Gets the number of bytes the `struct libkeccak_state` stored
- * at the beginning of `data` occupies
- *
- * @param data The data buffer
- * @return The byte size of the stored state
- */
-size_t
-libkeccak_state_unmarshal_skip(const void *restrict data_)
-{
- const unsigned char *restrict data = data_;
- data += (7 * sizeof(long int) + 26 * sizeof(int64_t)) / sizeof(char);
- return sizeof(struct libkeccak_state) - sizeof(char *) + *(const size_t *)data * sizeof(char);
-}