crypto/kasumi: restrict cipher bit-level operations
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 9 Jul 2016 16:35:58 +0000 (17:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 12:51:09 +0000 (14:51 +0200)
commitebee5594a35e2af743ff03cde7d4bac67ac772f2
tree35914c676d1bca0153f8fdd5e92940c7525e84b3
parent372201e2070e3ca9a2342269becef447892ba636
crypto/kasumi: restrict cipher bit-level operations

KASUMI PMD only supports bit-level cipher operations
when destination buffer is different from the source
(out of place operations). This commit adds a check
in the code to prevent the user from trying to perform
in-place bit-level ciphering.

Fixes: 2773c86d061a ("crypto/kasumi: add driver for KASUMI library")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
doc/guides/cryptodevs/kasumi.rst
drivers/crypto/kasumi/rte_kasumi_pmd.c