61 int umac_reset(
struct umac_ctx *ctx);
65 int umac_update(
struct umac_ctx *ctx,
const u_char *input,
long len);
68 int umac_final(
struct umac_ctx *ctx, u_char tag[],
const u_char nonce[8]);
73 int umac_delete(
struct umac_ctx *ctx);
77 int umac(
struct umac_ctx *ctx, u_char *input,
78 long len, u_char tag[],
87 typedef struct uhash_ctx *uhash_ctx_t;
91 uhash_ctx_t uhash_alloc(u_char key[16]);
98 int uhash_free(uhash_ctx_t ctx);
100 int uhash_set_params(uhash_ctx_t ctx,
103 int uhash_reset(uhash_ctx_t ctx);
105 int uhash_update(uhash_ctx_t ctx,
109 int uhash_final(uhash_ctx_t ctx,
112 int uhash(uhash_ctx_t ctx,
120 struct umac_ctx *umac128_new(
const u_char key[]);
121 int umac128_update(
struct umac_ctx *ctx,
const u_char *input,
long len);
122 int umac128_final(
struct umac_ctx *ctx, u_char tag[],
const u_char nonce[8]);
123 int umac128_delete(
struct umac_ctx *ctx);