aboutsummaryrefslogtreecommitdiffstats
path: root/hmac_state_output_size.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 15:18:51 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 15:18:51 +0200
commit77e0e09222fdc121d9044289229a6f19c0ba406b (patch)
treea81363e9a94fdf92c1065fd926f6afa790c33169 /hmac_state_output_size.c
parentAdd libsha2.7 (diff)
downloadlibsha2-77e0e09222fdc121d9044289229a6f19c0ba406b.tar.gz
libsha2-77e0e09222fdc121d9044289229a6f19c0ba406b.tar.bz2
libsha2-77e0e09222fdc121d9044289229a6f19c0ba406b.tar.xz
Inline the output size functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--hmac_state_output_size.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hmac_state_output_size.c b/hmac_state_output_size.c
index d1a94dd..eff86b9 100644
--- a/hmac_state_output_size.c
+++ b/hmac_state_output_size.c
@@ -8,8 +8,4 @@
* @param state The state
* @return The number of bytes in the output, zero on error
*/
-size_t
-libsha2_hmac_state_output_size(const struct libsha2_hmac_state *restrict state)
-{
- return libsha2_algorithm_output_size(state->sha2_state.algorithm);
-}
+extern inline size_t libsha2_hmac_state_output_size(const struct libsha2_hmac_state *restrict);