Searched refs:poly1305_state (Results 1 - 8 of 8) sorted by relevance

/linux-master/include/crypto/internal/
H A Dpoly1305.h23 static inline void poly1305_core_init(struct poly1305_state *state)
25 *state = (struct poly1305_state){};
28 void poly1305_core_blocks(struct poly1305_state *state,
31 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
/linux-master/lib/crypto/
H A Dchacha20poly1305.c61 struct poly1305_desc_ctx poly1305_state; local
68 poly1305_init(&poly1305_state, b.block0);
70 poly1305_update(&poly1305_state, ad, ad_len);
72 poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf));
76 poly1305_update(&poly1305_state, dst, src_len);
78 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf));
82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
84 poly1305_final(&poly1305_state, dst + src_len);
129 struct poly1305_desc_ctx poly1305_state; local
142 poly1305_init(&poly1305_state,
216 struct poly1305_desc_ctx poly1305_state; local
[all...]
H A Dpoly1305-donna64.c32 void poly1305_core_blocks(struct poly1305_state *state,
111 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
H A Dpoly1305-donna32.c31 void poly1305_core_blocks(struct poly1305_state *state,
120 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
H A Dchacha20poly1305-selftest.c8834 struct poly1305_desc_ctx poly1305_state; local
8849 poly1305_init(&poly1305_state, b.block0);
8850 poly1305_update(&poly1305_state, ad, ad_len);
8851 poly1305_update(&poly1305_state, pad0, (0x10 - ad_len) & 0xf);
8853 poly1305_update(&poly1305_state, dst, src_len);
8854 poly1305_update(&poly1305_state, pad0, (0x10 - src_len) & 0xf);
8857 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens));
8858 poly1305_final(&poly1305_state, dst + src_len);
/linux-master/include/crypto/
H A Dpoly1305.h16 /* The poly1305_key and poly1305_state types are mostly opaque and
34 struct poly1305_state { struct
53 struct poly1305_state h;
H A Dnhpoly1305.h43 struct poly1305_state poly_state;
/linux-master/crypto/
H A Dadiantum.c231 struct poly1305_state state;

Completed in 171 milliseconds