umac128_update() now takes a const input

This commit is contained in:
Markus Friedl
2012-10-10 00:08:33 +02:00
parent 8f73555808
commit 9d8cfbd2cb

View File

@@ -118,7 +118,7 @@ int uhash(uhash_ctx_t ctx,
/* matching umac-128 API, we reuse umac_ctx, since it's opaque */
struct umac_ctx *umac128_new(u_char key[]);
int umac128_update(struct umac_ctx *ctx, u_char *input, long len);
int umac128_update(struct umac_ctx *ctx, const u_char *input, long len);
int umac128_final(struct umac_ctx *ctx, u_char tag[], u_char nonce[8]);
int umac128_delete(struct umac_ctx *ctx);