platform_system_security/fsverity/fsverity_digests.proto
Inseob Kim eb92a4907f Add fsverity_digests proto and metadata for APK
fsverity_digests will be used as a mapping file from files to their
fsverity digest, under system/etc/security/fsverity/BuildManifest.apk

Bug: 193113311
Test: build with PRODUCT_SYSTEM_FSVERITY_GENERATE_METADATA := true
Change-Id: I35da5e3bdbfc82e7baf5dc1c3f8ddf5fed951373
2021-11-11 08:30:56 +00:00

27 lines
810 B
Protocol Buffer

/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto3";
package android.security.fsverity;
message FSVerityDigests {
message Digest {
bytes digest = 1;
string hash_alg = 2;
}
map<string, Digest> digests = 1;
}