Home
last modified time | relevance | path

Searched refs:poly1305_desc_ctx (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/crypto/
Dpoly1305.h41 struct poly1305_desc_ctx { struct
61 void poly1305_init_arch(struct poly1305_desc_ctx *desc, argument
63 void poly1305_init_generic(struct poly1305_desc_ctx *desc,
66 static inline void poly1305_init(struct poly1305_desc_ctx *desc, const u8 *key) in poly1305_init()
74 void poly1305_update_arch(struct poly1305_desc_ctx *desc, const u8 *src,
76 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src,
79 static inline void poly1305_update(struct poly1305_desc_ctx *desc, in poly1305_update()
88 void poly1305_final_arch(struct poly1305_desc_ctx *desc, u8 *digest);
89 void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *digest);
91 static inline void poly1305_final(struct poly1305_desc_ctx *desc, u8 *digest) in poly1305_final()
/linux-6.1.9/arch/arm/crypto/
Dpoly1305-glue.c32 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
45 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_init()
54 static void arm_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in arm_poly1305_blocks()
85 static void arm_poly1305_do_update(struct poly1305_desc_ctx *dctx, in arm_poly1305_do_update()
118 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_update()
128 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_update_neon()
139 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
188 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
198 *dctx = (struct poly1305_desc_ctx){}; in poly1305_final_arch()
204 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in arm_poly1305_final()
[all …]
/linux-6.1.9/arch/mips/crypto/
Dpoly1305-glue.c20 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
33 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_init()
42 static void mips_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in mips_poly1305_blocks()
73 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_update()
102 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
135 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
145 *dctx = (struct poly1305_desc_ctx){}; in poly1305_final_arch()
151 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in mips_poly1305_final()
165 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-6.1.9/arch/arm64/crypto/
Dpoly1305-glue.c28 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
41 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_init()
50 static void neon_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in neon_poly1305_blocks()
81 static void neon_poly1305_do_update(struct poly1305_desc_ctx *dctx, in neon_poly1305_do_update()
115 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_update()
125 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
170 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
186 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in neon_poly1305_final()
200 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-6.1.9/crypto/
Dpoly1305_generic.c24 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_init()
34 static unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, in crypto_poly1305_setdesckey()
57 static void poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_blocks()
75 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_update()
108 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_final()
122 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-6.1.9/arch/x86/crypto/
Dpoly1305_glue.c132 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE]) in poly1305_init_arch()
144 static unsigned int crypto_poly1305_setdctxkey(struct poly1305_desc_ctx *dctx, in crypto_poly1305_setdctxkey()
168 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src, in poly1305_update_arch()
203 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst) in poly1305_final_arch()
219 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_init()
221 *dctx = (struct poly1305_desc_ctx){}; in crypto_poly1305_init()
228 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_update()
236 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc); in crypto_poly1305_final()
250 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-6.1.9/lib/crypto/
Dpoly1305.c15 void poly1305_init_generic(struct poly1305_desc_ctx *desc, in poly1305_init_generic()
30 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src, in poly1305_update_generic()
63 void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *dst) in poly1305_final_generic()
73 *desc = (struct poly1305_desc_ctx){}; in poly1305_final_generic()
Dchacha20poly1305.c61 struct poly1305_desc_ctx poly1305_state; in __chacha20poly1305_encrypt()
129 struct poly1305_desc_ctx poly1305_state; in __chacha20poly1305_decrypt()
216 struct poly1305_desc_ctx poly1305_state; in chacha20poly1305_crypt_sg_inplace()
Dchacha20poly1305-selftest.c8834 struct poly1305_desc_ctx poly1305_state; in chacha20poly1305_encrypt_bignonce()