aboutsummaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-09 20:02:16 +0100
committerMattias Andrée <maandree@kth.se>2019-02-09 20:02:16 +0100
commit9475c19921162986119ee69eba8bfa2a9832d551 (patch)
tree285c9cbd0a824d2bfb480431b33099e2a80e35bf /init.c
parentAdd HMAC to TODO (diff)
downloadlibsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.gz
libsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.bz2
libsha2-9475c19921162986119ee69eba8bfa2a9832d551.tar.xz
Minor changes, add man pages, rename libsha2_state_initialise to libsha2_init
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--init.c (renamed from state_initialise.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/state_initialise.c b/init.c
index ba6fee0..a7ffa73 100644
--- a/state_initialise.c
+++ b/init.c
@@ -86,7 +86,7 @@ static const uint64_t H_512_256[] = {
* @return Zero on success, -1 on error
*/
int
-libsha2_state_initialise(struct libsha2_state *restrict state, enum libsha2_algorithm algorithm)
+libsha2_init(struct libsha2_state *restrict state, enum libsha2_algorithm algorithm)
{
size_t i;