Symbol: poly1305_state
crypto/adiantum.c
217
struct poly1305_state state;
crypto/adiantum.c
70
struct poly1305_state poly_state;
include/crypto/internal/poly1305.h
22
static inline void poly1305_core_init(struct poly1305_state *state)
include/crypto/internal/poly1305.h
24
*state = (struct poly1305_state){};
include/crypto/internal/poly1305.h
27
void poly1305_core_blocks(struct poly1305_state *state,
include/crypto/internal/poly1305.h
30
void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
include/crypto/internal/poly1305.h
49
static inline void poly1305_emit_generic(const struct poly1305_state *state,
include/crypto/poly1305.h
43
struct poly1305_state h;
lib/crypto/arm/poly1305.h
20
asmlinkage void poly1305_emit(const struct poly1305_state *state,
lib/crypto/arm64/poly1305.h
20
asmlinkage void poly1305_emit(const struct poly1305_state *state,
lib/crypto/chacha20poly1305.c
131
struct poly1305_desc_ctx poly1305_state;
lib/crypto/chacha20poly1305.c
144
poly1305_init(&poly1305_state, b.block0);
lib/crypto/chacha20poly1305.c
146
poly1305_update(&poly1305_state, ad, ad_len);
lib/crypto/chacha20poly1305.c
148
poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf));
lib/crypto/chacha20poly1305.c
151
poly1305_update(&poly1305_state, src, dst_len);
lib/crypto/chacha20poly1305.c
153
poly1305_update(&poly1305_state, pad0, 0x10 - (dst_len & 0xf));
lib/crypto/chacha20poly1305.c
157
poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
lib/crypto/chacha20poly1305.c
159
poly1305_final(&poly1305_state, b.mac);
lib/crypto/chacha20poly1305.c
218
struct poly1305_desc_ctx poly1305_state;
lib/crypto/chacha20poly1305.c
248
poly1305_init(&poly1305_state, b.block0);
lib/crypto/chacha20poly1305.c
251
poly1305_update(&poly1305_state, ad, ad_len);
lib/crypto/chacha20poly1305.c
253
poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf));
lib/crypto/chacha20poly1305.c
265
poly1305_update(&poly1305_state, addr, length);
lib/crypto/chacha20poly1305.c
295
poly1305_update(&poly1305_state, miter.addr,
lib/crypto/chacha20poly1305.c
300
poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf));
lib/crypto/chacha20poly1305.c
304
poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
lib/crypto/chacha20poly1305.c
308
poly1305_final(&poly1305_state,
lib/crypto/chacha20poly1305.c
312
poly1305_final(&poly1305_state, b.mac[0]);
lib/crypto/chacha20poly1305.c
322
poly1305_final(&poly1305_state, b.mac[1]);
lib/crypto/chacha20poly1305.c
60
struct poly1305_desc_ctx poly1305_state;
lib/crypto/chacha20poly1305.c
67
poly1305_init(&poly1305_state, b.block0);
lib/crypto/chacha20poly1305.c
69
poly1305_update(&poly1305_state, ad, ad_len);
lib/crypto/chacha20poly1305.c
71
poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf));
lib/crypto/chacha20poly1305.c
75
poly1305_update(&poly1305_state, dst, src_len);
lib/crypto/chacha20poly1305.c
77
poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf));
lib/crypto/chacha20poly1305.c
81
poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
lib/crypto/chacha20poly1305.c
83
poly1305_final(&poly1305_state, dst + src_len);
lib/crypto/mips/poly1305.h
12
asmlinkage void poly1305_emit(const struct poly1305_state *state,
lib/crypto/poly1305-donna32.c
121
void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
lib/crypto/poly1305-donna32.c
32
void poly1305_core_blocks(struct poly1305_state *state,
lib/crypto/poly1305-donna64.c
112
void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
lib/crypto/poly1305-donna64.c
33
void poly1305_core_blocks(struct poly1305_state *state,
lib/crypto/powerpc/poly1305.h
15
asmlinkage void poly1305_emit_64(const struct poly1305_state *state, const u32 nonce[4], u8 digest[POLY1305_DIGEST_SIZE]);
lib/crypto/powerpc/poly1305.h
37
dctx->h = (struct poly1305_state){};
lib/crypto/powerpc/poly1305.h
61
static void poly1305_emit(const struct poly1305_state *state,
lib/crypto/riscv/poly1305.h
12
asmlinkage void poly1305_emit(const struct poly1305_state *state,
lib/crypto/tests/chacha20poly1305_kunit.c
8833
struct poly1305_desc_ctx poly1305_state;
lib/crypto/tests/chacha20poly1305_kunit.c
8848
poly1305_init(&poly1305_state, b.block0);
lib/crypto/tests/chacha20poly1305_kunit.c
8849
poly1305_update(&poly1305_state, ad, ad_len);
lib/crypto/tests/chacha20poly1305_kunit.c
8850
poly1305_update(&poly1305_state, pad0, (0x10 - ad_len) & 0xf);
lib/crypto/tests/chacha20poly1305_kunit.c
8852
poly1305_update(&poly1305_state, dst, src_len);
lib/crypto/tests/chacha20poly1305_kunit.c
8853
poly1305_update(&poly1305_state, pad0, (0x10 - src_len) & 0xf);
lib/crypto/tests/chacha20poly1305_kunit.c
8856
poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
lib/crypto/tests/chacha20poly1305_kunit.c
8857
poly1305_final(&poly1305_state, dst + src_len);
lib/crypto/x86/poly1305.h
134
static void poly1305_emit(const struct poly1305_state *ctx,
lib/crypto/x86/poly1305.h
66
asmlinkage void poly1305_emit_x86_64(const struct poly1305_state *ctx,
lib/crypto/x86/poly1305.h
69
asmlinkage void poly1305_emit_avx(const struct poly1305_state *ctx,