Introduce ChecksumValidator 76/32776/26
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 23 Dec 2014 13:53:59 +0000 (14:53 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 4 Mar 2015 10:12:23 +0000 (11:12 +0100)
commit7832866a7fbf8b6425e180d1dbdfe7b80ab8f96d
tree3723fbf1c84fe50d5fec6de7dd6adeb163965a3d
parent8a9adaa9c38a3269942181abadb5f700b7661ccb
Introduce ChecksumValidator

ChecksumValidator computes checksums for every file listed in checksum
index equivalent using crypt(3). As a result, base64-like (custom
alphabet) encoded strings are produced and compared with last known
corresponding digest. Its 4-character prefix indicates used algorithm.
Class will be later used as an integrity mechanism extension.

Change-Id: Ibaba636bae30c747e8eac5561e9b130d4398518e
src/storage/CMakeLists.txt
src/storage/ChecksumValidator.cpp [new file with mode: 0644]
src/storage/ChecksumValidator.h [new file with mode: 0644]
test/CMakeLists.txt