Searched refs:poly1305_state (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/lib/crypto/ |
D | chacha20poly1305.c | 61 struct poly1305_desc_ctx poly1305_state; in __chacha20poly1305_encrypt() local 68 poly1305_init(&poly1305_state, b.block0); in __chacha20poly1305_encrypt() 70 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt() 72 poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf)); in __chacha20poly1305_encrypt() 76 poly1305_update(&poly1305_state, dst, src_len); in __chacha20poly1305_encrypt() 78 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf)); in __chacha20poly1305_encrypt() 82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt() 84 poly1305_final(&poly1305_state, dst + src_len); in __chacha20poly1305_encrypt() 129 struct poly1305_desc_ctx poly1305_state; in __chacha20poly1305_decrypt() local 142 poly1305_init(&poly1305_state, b.block0); in __chacha20poly1305_decrypt() [all …]
|
D | poly1305-donna64.c | 34 void poly1305_core_blocks(struct poly1305_state *state, in poly1305_core_blocks() 113 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4], in poly1305_core_emit()
|
D | poly1305-donna32.c | 31 void poly1305_core_blocks(struct poly1305_state *state, in poly1305_core_blocks() 120 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4], in poly1305_core_emit()
|
D | chacha20poly1305-selftest.c | 8834 struct poly1305_desc_ctx poly1305_state; in chacha20poly1305_encrypt_bignonce() local 8849 poly1305_init(&poly1305_state, b.block0); in chacha20poly1305_encrypt_bignonce() 8850 poly1305_update(&poly1305_state, ad, ad_len); in chacha20poly1305_encrypt_bignonce() 8851 poly1305_update(&poly1305_state, pad0, (0x10 - ad_len) & 0xf); in chacha20poly1305_encrypt_bignonce() 8853 poly1305_update(&poly1305_state, dst, src_len); in chacha20poly1305_encrypt_bignonce() 8854 poly1305_update(&poly1305_state, pad0, (0x10 - src_len) & 0xf); in chacha20poly1305_encrypt_bignonce() 8857 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_encrypt_bignonce() 8858 poly1305_final(&poly1305_state, dst + src_len); in chacha20poly1305_encrypt_bignonce()
|
/linux-5.19.10/include/crypto/internal/ |
D | poly1305.h | 23 static inline void poly1305_core_init(struct poly1305_state *state) in poly1305_core_init() 25 *state = (struct poly1305_state){}; in poly1305_core_init() 28 void poly1305_core_blocks(struct poly1305_state *state, 31 void poly1305_core_emit(const struct poly1305_state *state, const u32 nonce[4],
|
/linux-5.19.10/include/crypto/ |
D | poly1305.h | 34 struct poly1305_state { struct 53 struct poly1305_state h; argument
|
D | nhpoly1305.h | 43 struct poly1305_state poly_state;
|
/linux-5.19.10/crypto/ |
D | adiantum.c | 231 struct poly1305_state state; in adiantum_hash_header()
|