aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_unmarshal_skip.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-11 16:57:26 +0100
committerMattias Andrée <maandree@kth.se>2019-02-11 16:57:54 +0100
commit3547923d8653d72fe8a6a305107ed2e5dca6577c (patch)
treeaa08e3ca8cb8d7f7b64126a6687af4abbe0994ef /libkeccak_state_unmarshal_skip.c
parentSplit most .c files into one per function and flatten file hierarchy (diff)
downloadlibkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.gz
libkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.bz2
libkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.xz
Deprecate typedefs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libkeccak_state_unmarshal_skip.c')
-rw-r--r--libkeccak_state_unmarshal_skip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkeccak_state_unmarshal_skip.c b/libkeccak_state_unmarshal_skip.c
index df488bf..b8c244c 100644
--- a/libkeccak_state_unmarshal_skip.c
+++ b/libkeccak_state_unmarshal_skip.c
@@ -3,7 +3,7 @@
/**
- * Gets the number of bytes the `libkeccak_state_t` stored
+ * Gets the number of bytes the `struct libkeccak_state` stored
* at the beginning of `data` occupies
*
* @param data The data buffer
@@ -14,5 +14,5 @@ libkeccak_state_unmarshal_skip(const void *restrict data_)
{
const char *restrict data = data_;
data += (7 * sizeof(long int) + 26 * sizeof(int64_t)) / sizeof(char);
- return sizeof(libkeccak_state_t) - sizeof(char *) + *(const size_t *)data * sizeof(char);
+ return sizeof(struct libkeccak_state) - sizeof(char *) + *(const size_t *)data * sizeof(char);
}