Searched refs:poly1305_desc_ctx (Results 1 - 10 of 10) sorted by relevance

/linux-master/include/crypto/
H A Dpoly1305.h41 struct poly1305_desc_ctx { struct
61 void poly1305_init_arch(struct poly1305_desc_ctx *desc,
63 void poly1305_init_generic(struct poly1305_desc_ctx *desc,
66 static inline void poly1305_init(struct poly1305_desc_ctx *desc, const u8 *key)
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,
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 *des
[all...]
/linux-master/lib/crypto/
H A Dpoly1305.c15 void poly1305_init_generic(struct poly1305_desc_ctx *desc,
30 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src,
63 void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *dst)
73 *desc = (struct poly1305_desc_ctx){};
H A Dchacha20poly1305.c61 struct poly1305_desc_ctx poly1305_state;
129 struct poly1305_desc_ctx poly1305_state;
216 struct poly1305_desc_ctx poly1305_state;
H A Dchacha20poly1305-selftest.c8834 struct poly1305_desc_ctx poly1305_state;
/linux-master/crypto/
H A Dpoly1305_generic.c24 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
34 static unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx,
57 static void poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src,
75 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
108 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
122 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-master/arch/arm/crypto/
H A Dpoly1305-glue.c32 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
45 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
54 static void arm_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src,
85 static void arm_poly1305_do_update(struct poly1305_desc_ctx *dctx,
118 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
128 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
139 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src,
188 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst)
198 *dctx = (struct poly1305_desc_ctx){};
204 struct poly1305_desc_ctx *dct
[all...]
/linux-master/arch/mips/crypto/
H A Dpoly1305-glue.c20 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
33 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
42 static void mips_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src,
73 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
102 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src,
135 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst)
145 *dctx = (struct poly1305_desc_ctx){};
151 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
165 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-master/arch/arm64/crypto/
H A Dpoly1305-glue.c28 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
41 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
50 static void neon_poly1305_blocks(struct poly1305_desc_ctx *dctx, const u8 *src,
81 static void neon_poly1305_do_update(struct poly1305_desc_ctx *dctx,
115 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
125 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src,
170 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst)
186 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
200 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-master/arch/x86/crypto/
H A Dpoly1305_glue.c132 void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
144 static unsigned int crypto_poly1305_setdctxkey(struct poly1305_desc_ctx *dctx,
168 void poly1305_update_arch(struct poly1305_desc_ctx *dctx, const u8 *src,
203 void poly1305_final_arch(struct poly1305_desc_ctx *dctx, u8 *dst)
219 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
221 *dctx = (struct poly1305_desc_ctx){};
228 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
236 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
250 .descsize = sizeof(struct poly1305_desc_ctx),
/linux-master/arch/powerpc/crypto/
H A Dpoly1305-p10-glue.c39 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
49 static unsigned int crypto_poly1305_setdctxkey(struct poly1305_desc_ctx *dctx,
80 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
135 struct poly1305_desc_ctx *dctx = shash_desc_ctx(desc);
159 .descsize = sizeof(struct poly1305_desc_ctx),

Completed in 178 milliseconds