diff options
Diffstat (limited to 'crypto/openssh/umac.h')
-rw-r--r-- | crypto/openssh/umac.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/openssh/umac.h b/crypto/openssh/umac.h index 055c705..6795112 100644 --- a/crypto/openssh/umac.h +++ b/crypto/openssh/umac.h @@ -1,4 +1,4 @@ -/* $OpenBSD: umac.h,v 1.1 2007/06/07 19:37:34 pvalchev Exp $ */ +/* $OpenBSD: umac.h,v 1.2 2012/10/04 13:21:50 markus Exp $ */ /* ----------------------------------------------------------------------- * * umac.h -- C Implementation UMAC Message Authentication @@ -116,6 +116,12 @@ int uhash(uhash_ctx_t ctx, #endif +/* 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_final(struct umac_ctx *ctx, u_char tag[], u_char nonce[8]); +int umac128_delete(struct umac_ctx *ctx); + #ifdef __cplusplus } #endif |