Add data structures 79/80979/4
authorKyungwook Tak <k.tak@samsung.com>
Thu, 21 Jul 2016 07:46:00 +0000 (16:46 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Tue, 26 Jul 2016 06:51:15 +0000 (15:51 +0900)
commitd6da3e3d9bc29e22103b094bee5ca68f5d8f0f61
tree6439a58283180d86c72f4c30413d55be728f6dd4
parent6818b8559b7d4d45adaeb1937d708a154dc00fd7
Add data structures

For migrated web app, we need to more fields in cache e.g., IV and
is_migrated flag to handle it separately.

Because cipher algorithm, iv and key size could be different between old
secure storage, it depends on product implementation. So this
architecture needs more flexibility.

A lot of code changed because of the principle data structure is added
from the bottom.

Change-Id: Id6a10b9f707f4da25016dd928ab4049be619a610
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
19 files changed:
srcs/CMakeLists.txt
srcs/crypto_service.c
srcs/crypto_service.h
srcs/decrypt_migrated_wgt.c
srcs/decrypt_migrated_wgt.h
srcs/key_handler.c
srcs/key_handler.h
srcs/key_manager.c [new file with mode: 0644]
srcs/key_manager.h [new file with mode: 0644]
srcs/types.c [new file with mode: 0644]
srcs/types.h [new file with mode: 0644]
srcs/web_app_enc.c
tests/internals.cpp
tests/non-normals.cpp
tests/normals.cpp
tests/test-common.cpp
tests/test-common.h
tests/test-helper.cpp
tests/test-helper.h