CKM: Remove CBC from integrity tests 74/201974/4
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 20 Mar 2019 14:23:46 +0000 (15:23 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 5 Apr 2019 09:22:21 +0000 (11:22 +0200)
commitbfd8db6ff9db5b13699c76f23c1188de8a0a6990
treeb43e06851dfc472cab736600906ce5a8b1cd3a9f
parentf68f596c1188a7b2ff7417ffb21a85bd031aba75
CKM: Remove CBC from integrity tests

In case of CBC the tests that uses different key to decrypt the data may pass of
fail depending on the padding scheme and input data length. In other words, we
should not expect the CBC to fail if wrong key is used, yet in many cases it
does fail.

Change-Id: Ib213544b6349433c15346eb422cdbeea4f074544
src/ckm/unprivileged/encryption-decryption.cpp