]> code.ossystems Code Review - openembedded-core.git/commit
cryptodev-linux: Fixes a kernel crash observed with cipher-gcm test
authorHongzhi.Song <hongzhi.song@windriver.com>
Wed, 22 Aug 2018 08:37:12 +0000 (01:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Aug 2018 06:45:32 +0000 (07:45 +0100)
commit76da04571b8cb2241b3f46dec4935ff299639b7d
treed1f387a613754a85c9839840bf81cbb470f7783e
parent146ebbc71183e432905b17a127162aba0b464b50
cryptodev-linux: Fixes a kernel crash observed with cipher-gcm test

The crypto API for AEAD ciphers changed in recent kernels, so that
associated data is now part of both source and destination scatter
gathers. The source, destination and associated data buffers need
to be stiched accordingly for the operations to succeed.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb
meta/recipes-kernel/cryptodev/files/0001-refactoring-split-big-function-to-simplify-maintaina.patch [new file with mode: 0644]
meta/recipes-kernel/cryptodev/files/0002-refactoring-relocate-code-to-simplify-later-patches.patch [new file with mode: 0644]
meta/recipes-kernel/cryptodev/files/0003-convert-to-new-AEAD-interface-in-kernels-v4.2.patch [new file with mode: 0644]