Welcome to little lamb

Code » limb » master » tree

[master] / src / liblimb / buffer-shldata.h / buffer_shldata_getinit.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/buffer-shldata.h>

int
buffer_shldata_getinit(buffer *b, const char *pwd, size_t plen, unsigned *algo, unsigned *iter, buffer_shldata_ctx *ctx)
{
    return buffer_shldata_getinit_sa(b, pwd, plen, algo, iter, &ctx->sa, ctx);
}