20#include <psa/crypto.h>
23int mac_create_hmac(
const struct sxhashalg *hashalg,
struct sxhash *hashopctx,
const uint8_t *key,
24 size_t keysz, uint8_t *workmem,
size_t workmemsz);
26int hmac_produce(
struct sxhash *hashctx,
const struct sxhashalg *hashalg, uint8_t *out,
size_t sz,
int mac_create_hmac(const struct sxhashalg *hashalg, struct sxhash *hashopctx, const uint8_t *key, size_t keysz, uint8_t *workmem, size_t workmemsz)
int hmac_produce(struct sxhash *hashctx, const struct sxhashalg *hashalg, uint8_t *out, size_t sz, uint8_t *workmem)