diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:18:51 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:18:51 +0200 |
commit | 77e0e09222fdc121d9044289229a6f19c0ba406b (patch) | |
tree | a81363e9a94fdf92c1065fd926f6afa790c33169 /state_output_size.c | |
parent | Add libsha2.7 (diff) | |
download | libsha2-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 'state_output_size.c')
-rw-r--r-- | state_output_size.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/state_output_size.c b/state_output_size.c index 85da7c2..9ab0f51 100644 --- a/state_output_size.c +++ b/state_output_size.c @@ -2,14 +2,4 @@ #include "common.h" -/** - * Get the output size of the algorithm specified for a state - * - * @param state The state - * @return The number of bytes in the output, zero on error - */ -size_t -libsha2_state_output_size(const struct libsha2_state *restrict state) -{ - return libsha2_algorithm_output_size(state->algorithm); -} +extern inline size_t libsha2_state_output_size(const struct libsha2_state *restrict); |