poly1305.h 540 B

1234567891011121314
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * OpenSSL/Cryptogams accelerated Poly1305 transform for MIPS
  4. *
  5. * Copyright (C) 2019 Linaro Ltd. <ard.biesheuvel@linaro.org>
  6. */
  7. asmlinkage void poly1305_block_init(struct poly1305_block_state *state,
  8. const u8 raw_key[POLY1305_BLOCK_SIZE]);
  9. asmlinkage void poly1305_blocks(struct poly1305_block_state *state,
  10. const u8 *src, u32 len, u32 hibit);
  11. asmlinkage void poly1305_emit(const struct poly1305_state *state,
  12. u8 digest[POLY1305_DIGEST_SIZE],
  13. const u32 nonce[4]);