Move Token and CryptoBackend to common 31/240031/3
authorMateusz Cegielka <m.cegielka@samsung.com>
Fri, 31 Jul 2020 14:13:33 +0000 (16:13 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 17 Aug 2020 16:11:54 +0000 (16:11 +0000)
commitccf06cea1135370c2fdf4b9ecf32c82997a6d8de
treec451c0844edf80296160c259a4415e874eef30b8
parenta5e89f2a4b857b42eeba4adb79d2ed3a3f0e75b6
Move Token and CryptoBackend to common

Both Token and CryptoBackend are small types used on the server, both in
the crypto and the service modules. They are defined in the service
module, and crypto submodules have to include these headers. Other than
that, the crypto module is not aware of the service module, and creating
an unnecessary cyclic dependency here shows up in static analysis.

Since they are minor types which don't contain any logic and are used in
different contexts in different modules, I have moved them to the
src/manager/common directory.

Change-Id: Ifd55ec97173b6e99c9c2fec154803dccfa48a1ae
src/manager/common/crypto-backend.h [moved from src/manager/service/crypto-backend.h with 100% similarity]
src/manager/common/token.h [moved from src/manager/service/token.h with 100% similarity]