File Index
Files and directories
Sign in
FILE

poly1305.h

File preview with syntax highlighting.

linux-6.19.14/lib/crypto/riscv/poly1305.h OBJECTIVE-C
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * OpenSSL/Cryptogams accelerated Poly1305 transform for riscv
 4 *
 5 * Copyright (C) 2025 Institute of Software, CAS.
 6 */
 7
 8asmlinkage void poly1305_block_init(struct poly1305_block_state *state,
 9				    const u8 raw_key[POLY1305_BLOCK_SIZE]);
10asmlinkage void poly1305_blocks(struct poly1305_block_state *state,
11				const u8 *src, u32 len, u32 hibit);
12asmlinkage void poly1305_emit(const struct poly1305_state *state,
13			      u8 digest[POLY1305_DIGEST_SIZE],
14			      const u32 nonce[4]);
~/ Read-only file preview.