summaryrefslogtreecommitdiff
path: root/src/libstdcrypto/blake2s_init.c
blob: 7460747f2420fa64e63c5cf609e793c6b7ac5858 (plain)
1
2
3
4
5
6
7
8
9
 /* ISC license. */

#include <skalibs/blake2s.h>

void blake2s_init (blake2s_ctx *ctx, size_t outlen)
{
  blake2s_ctx c = BLAKE2S_INIT(outlen) ;
  *ctx = c ;
}