Welcome to little lamb

Code » limb » release » tree

[release] / src / liblimb / hasher_sha3_384.h / hasher_sha3_384.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_384.h>
#include <limb/sha3.h>

struct hsha3_384 {
    hasher h;
    sha3_ctx ctx;
} hasher_sha3_384 = {
    .h.hlen = 48,
    .h.blen = 104,
    .h.init = sha3_384_init,
    .h.update = sha3_update,
    .h.final = sha3_final,
};