Welcome to little lamb

Code » limb » master » tree

[master] / src / liblimb / hasher_sha3_512.h / hasher_sha3_512.c

/* This file is part of limb                           https://lila.oss/limb
 * Copyright (C) 2023 Olivier Brunel                          jjk@jjacky.com */
/* SPDX-License-Identifier: GPL-2.0-only */
#include <limb/hasher_sha3_512.h>
#include <limb/sha3.h>

struct hsha3_512 {
    hasher h;
    sha3_ctx ctx;
} hasher_sha3_512 = {
    .h.hlen = 64,
    .h.blen = 72,
    .h.init = sha3_512_init,
    .h.update = sha3_update,
    .h.final = sha3_final,
};