Home
last modified time | relevance | path

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

/Linux-v5.10/include/crypto/
Dpoly1305.h41 struct poly1305_desc_ctx { struct
61 void poly1305_init_arch(struct poly1305_desc_ctx *desc, const u8 *key); argument
62 void poly1305_init_generic(struct poly1305_desc_ctx *desc, const u8 *key);
64 static inline void poly1305_init(struct poly1305_desc_ctx *desc, const u8 *key) in poly1305_init()
72 void poly1305_update_arch(struct poly1305_desc_ctx *desc, const u8 *src,
74 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src,
77 static inline void poly1305_update(struct poly1305_desc_ctx *desc, in poly1305_update()
86 void poly1305_final_arch(struct poly1305_desc_ctx *desc, u8 *digest);
87 void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *digest);
89 static inline void poly1305_final(struct poly1305_desc_ctx *desc, u8 *digest) in poly1305_final()
/Linux-v5.10/arch/arm/crypto/
Dpoly1305-glue.c32 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key) 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-v5.10/arch/mips/crypto/
Dpoly1305-glue.c20 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key) 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-v5.10/arch/arm64/crypto/
Dpoly1305-glue.c28 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key) 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()
180 *dctx = (struct poly1305_desc_ctx){}; 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-v5.10/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-v5.10/arch/x86/crypto/
Dpoly1305_glue.c132 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key) 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()
213 *dctx = (struct poly1305_desc_ctx){}; 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-v5.10/lib/crypto/
Dpoly1305.c15 void poly1305_init_generic(struct poly1305_desc_ctx *desc, const u8 *key) in poly1305_init_generic()
29 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src, in poly1305_update_generic()
62 void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *dst) in poly1305_final_generic()
72 *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()