diff options
Diffstat (limited to 'src/crypto/include/zinc/poly1305.h')
-rw-r--r-- | src/crypto/include/zinc/poly1305.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/include/zinc/poly1305.h b/src/crypto/include/zinc/poly1305.h index 5c9220f..338430c 100644 --- a/src/crypto/include/zinc/poly1305.h +++ b/src/crypto/include/zinc/poly1305.h @@ -26,10 +26,10 @@ void poly1305_fpu_init(void); void poly1305_init(struct poly1305_ctx *ctx, const u8 key[POLY1305_KEY_SIZE], simd_context_t simd_context); -void poly1305_update(struct poly1305_ctx *ctx, const u8 *inp, const size_t len, - simd_context_t simd_context); -void poly1305_finish(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE], +void poly1305_update(struct poly1305_ctx *ctx, const u8 *input, size_t len, simd_context_t simd_context); +void poly1305_final(struct poly1305_ctx *ctx, u8 mac[POLY1305_MAC_SIZE], + simd_context_t simd_context); #ifdef DEBUG bool poly1305_selftest(void); |