__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Common values for the Poly1305 algorithm
*/
#ifndef _CRYPTO_INTERNAL_POLY1305_H
#define _CRYPTO_INTERNAL_POLY1305_H
#include <linux/unaligned.h>
#include <linux/types.h>
#include <crypto/poly1305.h>
/*
* Poly1305 core functions. These only accept whole blocks; the caller must
* handle any needed block buffering and padding. 'hibit' must be 1 for any
* full blocks, or 0 for the final block if it had to be padded. If 'nonce' is
* non-NULL, then it's added at the end to compute the Poly1305 MAC. Otherwise,
* only the ε-almost-∆-universal hash function (not the full MAC) is computed.
*/
void poly1305_core_setkey(struct poly1305_core_key *key,
const u8 raw_key[POLY1305_BLOCK_SIZE]);
static inline void poly1305_core_init(struct poly1305_state *state)
{
*state = (struct poly1305_state){};
}
void poly1305_core_blocks(struct poly1305_state *state,
const struct poly1305_core_key *key, const void *src,
unsigned int nblocks, u32 hibit);
void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
void *dst);
#endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| acompress.h | File | 3.18 KB | 0644 |
|
| aead.h | File | 4.03 KB | 0644 |
|
| akcipher.h | File | 3.84 KB | 0644 |
|
| blake2b.h | File | 3.06 KB | 0644 |
|
| blake2s.h | File | 586 B | 0644 |
|
| chacha.h | File | 969 B | 0644 |
|
| cipher.h | File | 6.77 KB | 0644 |
|
| des.h | File | 3.25 KB | 0644 |
|
| ecc.h | File | 9.6 KB | 0644 |
|
| engine.h | File | 2.19 KB | 0644 |
|
| geniv.h | File | 702 B | 0644 |
|
| hash.h | File | 6.25 KB | 0644 |
|
| kdf_selftest.h | File | 1.5 KB | 0644 |
|
| kpp.h | File | 7.04 KB | 0644 |
|
| poly1305.h | File | 1.1 KB | 0644 |
|
| rng.h | File | 1021 B | 0644 |
|
| rsa.h | File | 2.24 KB | 0644 |
|
| scompress.h | File | 3.31 KB | 0644 |
|
| sig.h | File | 2.32 KB | 0644 |
|
| simd.h | File | 1.91 KB | 0644 |
|
| skcipher.h | File | 7.26 KB | 0644 |
|