New class hierarchy (multiple backends support). 91/39291/1
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Mon, 4 May 2015 12:31:27 +0000 (14:31 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Tue, 12 May 2015 14:12:25 +0000 (16:12 +0200)
commitea43f2088832df7a4bdda3714bc595b14d46af2c
tree9c0ff7f67f8bd257ce5cb9008679878bd60bd12b
parentd2ce48eb176a1f51a61102f510f67b5ccb957a7c
New class hierarchy (multiple backends support).

Current implemantion my use only one crypto library. The target is to
use at least two libraries at the same time (openssl and trustzone
library for arm devices).

Change-Id: I3563fb1c89f3603a927b8b19f6358b4fc3f5c7cf
18 files changed:
src/CMakeLists.txt
src/manager/crypto/generic-backend/exception.h [new file with mode: 0644]
src/manager/crypto/generic-backend/gkey.h [new file with mode: 0644]
src/manager/crypto/generic-backend/gstore.h [new file with mode: 0644]
src/manager/crypto/generic-backend/id.h [new file with mode: 0644]
src/manager/crypto/generic-backend/token.h [new file with mode: 0644]
src/manager/crypto/platform/decider.cpp [new file with mode: 0644]
src/manager/crypto/platform/decider.h [new file with mode: 0644]
src/manager/crypto/sw-backend/crypto-service.cpp [moved from src/manager/service/CryptoService.cpp with 99% similarity]
src/manager/crypto/sw-backend/crypto-service.h [moved from src/manager/service/CryptoService.h with 97% similarity]
src/manager/crypto/sw-backend/crypto.h [moved from src/manager/service/crypto.h with 96% similarity]
src/manager/crypto/sw-backend/key.cpp [new file with mode: 0644]
src/manager/crypto/sw-backend/key.h [new file with mode: 0644]
src/manager/crypto/sw-backend/store.cpp [new file with mode: 0644]
src/manager/crypto/sw-backend/store.h [new file with mode: 0644]
src/manager/main/key-manager-main.cpp
src/manager/service/ckm-logic.cpp
src/manager/service/crypto-logic.cpp