SW backend unit tests 78/235778/14
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 9 Jun 2020 16:27:23 +0000 (18:27 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 9 Jul 2020 16:20:28 +0000 (18:20 +0200)
commit156f84e84b94b84bab2bed85628393e3cb6e6207
treee7c791e18423077e17ac3bb5160f8cf22492481b
parente6759a1e694eb0e5f2d69fbb6d80d579fc5a29f7
SW backend unit tests

Also:
* Hide SW::Internals functions unused outside and add few asserts.
* Add missing openssl errors.
* Properly handle rsa encryption output.
* Properly handle missing asymmetric key.
* Old partial tests replaced.
* Minor code cleanup.

Change-Id: I1f83f6dc6bcdc99708b2f1f081b4be6fef8a4b08
src/manager/common/openssl-error-handler.cpp
src/manager/crypto/sw-backend/internals.cpp
src/manager/crypto/sw-backend/internals.h
unit-tests/test_sw-backend.cpp