Searched refs:verity (Results 1 – 15 of 15) sorted by relevance
/system/extras/verity/ |
D | verity_verifier.cpp | 108 fec_verity_metadata verity; in main() local 109 if (!input.get_verity_metadata(verity)) { in main() 114 int ret = verify_table(argv[3], verity.signature, sizeof(verity.signature), in main() 115 verity.table, verity.table_length); in main()
|
D | BootSignature.mf | 1 Main-Class: com.android.verity.BootSignature
|
D | VeritySigner.mf | 1 Main-Class: com.android.verity.VeritySigner
|
D | VeritySigner.java | 17 package com.android.verity;
|
D | BootSignature.java | 17 package com.android.verity;
|
D | Utils.java | 17 package com.android.verity;
|
/system/extras/libfec/ |
D | fec_open.cpp | 315 f->verity.hash_start); in load_verity() 325 f->verity.hash_start); in load_verity() 338 f->verity.hash_start); in load_verity() 405 memset(&f->verity, 0, sizeof(f->verity)); in reset_handle() 421 if (f->verity.hash) { in fec_close() 422 delete[] f->verity.hash; in fec_close() 424 if (f->verity.salt) { in fec_close() 425 delete[] f->verity.salt; in fec_close() 427 if (f->verity.table) { in fec_close() 428 delete[] f->verity.table; in fec_close() [all …]
|
D | fec_read.cpp | 82 return !verity_check_block(f, &f->verity.hash[n * SHA256_DIGEST_LENGTH], in is_erasure() 89 verity_info *v = &f->verity; in is_zero() 122 check(!use_erasures || f->verity.hash); in __ecc_read() 183 } else if (!f->verity.hash) { in __ecc_read() 292 check(f->verity.hash); in verity_read() 309 uint64_t max_hash_block = (f->verity.hash_data_blocks * FEC_BLOCKSIZE - in verity_read() 315 uint8_t *hash = &f->verity.hash[curr * SHA256_DIGEST_LENGTH]; in verity_read() 532 if (f->verity.hash) { in fec_pread()
|
D | fec_verity.cpp | 127 check(f->verity.salt); in verity_hash() 128 SHA256_Update(&ctx, f->verity.salt, f->verity.salt_size); in verity_hash() 193 verity_info *v = &f->verity; in verify_tree() 254 new (std::nothrow) uint8_t[f->verity.hash_data_blocks * FEC_BLOCKSIZE]); in verify_tree() 335 verity_info *v = &f->verity; in parse_table() 493 verity_info *v = &f->verity; in rewrite_metadata() 557 verity_info *v = &f->verity; in verity_parse_header() 646 verity_info *v = &f->verity; in fec_verity_set_status()
|
D | fec_private.h | 109 verity_info verity; member
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 146 static int verify_verity_signature(const struct fec_verity_metadata& verity) in verify_verity_signature() argument 148 if (verify_table(verity.signature, sizeof(verity.signature), in verify_verity_signature() 149 verity.table, verity.table_length) == 0 || in verify_verity_signature() 150 verify_table(verity.ecc_signature, sizeof(verity.ecc_signature), in verify_verity_signature() 151 verity.table, verity.table_length) == 0) { in verify_verity_signature() 581 struct fec_verity_metadata verity; in compare_last_signature() local 594 if (fec_verity_get_metadata(f, &verity) == -1) { in compare_last_signature() 599 SHA256(verity.signature, sizeof(verity.signature), curr); in compare_last_signature() 760 struct fec_verity_metadata verity; in fs_mgr_setup_verity() local 782 if (fec_verity_get_metadata(f, &verity) < 0) { in fs_mgr_setup_verity() [all …]
|
/system/core/libutils/tests/ |
D | README.txt | 4 (after adb root; adb disable-verity; adb reboot)
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | init.te | 370 # Access device mapper for setting up dm-verity 374 # Access metadata block device for storing dm-verity state 378 # by dm-verity detecting corrupted blocks
|
/system/sepolicy/public/ |
D | init.te | 375 # Access device mapper for setting up dm-verity 379 # Access metadata block device for storing dm-verity state 383 # by dm-verity detecting corrupted blocks
|
/system/core/init/ |
D | README.md | 490 > Internal implementation detail used to load dm-verity state. 493 > Internal implementation detail used to update dm-verity state and
|