diff options
| author | 2022-10-17 14:22:56 -0700 | |
|---|---|---|
| committer | 2022-10-27 10:37:11 -0700 | |
| commit | 3363fd4da904c9726f817f4af789de4875762bab (patch) | |
| tree | c983a73251587171fd2059817ea17f63e27a0c17 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | c49d0bfa1a7f8b1c73a71ffa25a26ed554f7b06d (diff) | |
Provide a method to verify a PKCS#7 signature
There is existing PKCS#7 signature used in the kernel for verifying
fs-verity digest. The purpose of this change is to pave the way to
migrate the existing signature check to userspace (and longer term,
migrate away from PKCS#7).
To mitigate the complexity of PKCS#7, only the configuration we're
currently using is supported.
Bug: 253668864
Test: atest FrameworksCoreTests:com.android.internal.security.VerityUtilsTest
Test: Manually added some code to use the API with correct and incorrect
signatures. Saw the API behave expectedly.
Change-Id: I80bbbd88881303c0b9a261b1fe59e9682e43bcad
Merged-In: I80bbbd88881303c0b9a261b1fe59e9682e43bcad
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions