62df66b726
[ Upstream commit a8d3cdcc092fb2f2882acb6c20473a1be0ef4484 ]
key buffer is not copied in chachapoly_setkey function,
results in wrong output for encryption/decryption operation.
fix this by memcpy the key in caam_ctx key arrary
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
caamalg.c | ||
caamalg_desc.c | ||
caamalg_desc.h | ||
caamalg_qi.c | ||
caamalg_qi2.c | ||
caamalg_qi2.h | ||
caamhash.c | ||
caamhash_desc.c | ||
caamhash_desc.h | ||
caampkc.c | ||
caampkc.h | ||
caamrng.c | ||
compat.h | ||
ctrl.c | ||
ctrl.h | ||
debugfs.c | ||
debugfs.h | ||
desc.h | ||
desc_constr.h | ||
dpseci-debugfs.c | ||
dpseci-debugfs.h | ||
dpseci.c | ||
dpseci.h | ||
dpseci_cmd.h | ||
error.c | ||
error.h | ||
intern.h | ||
jr.c | ||
jr.h | ||
key_gen.c | ||
key_gen.h | ||
pdb.h | ||
pkc_desc.c | ||
qi.c | ||
qi.h | ||
regs.h | ||
sg_sw_qm.h | ||
sg_sw_qm2.h | ||
sg_sw_sec4.h |