Lines Matching refs:umac_ctx
55 struct umac_ctx *umac_new(const u_char key[]);
56 /* Dynamically allocate a umac_ctx struct, initialize variables,
61 int umac_reset(struct umac_ctx *ctx);
62 /* Reset a umac_ctx to begin authenicating a new message */
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,
119 /* matching umac-128 API, we reuse umac_ctx, since it's opaque */
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);