Searched refs:ecc (Results 1 – 12 of 12) sorted by relevance
/system/extras/libfec/ |
D | fec_open.cpp | 102 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); in parse_ecc_header() 138 if (f->ecc.roots != (int)header.roots) { in parse_ecc_header() 139 error("unexpected number of roots: %d vs %u", f->ecc.roots, in parse_ecc_header() 157 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_ecc_header() 158 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header() 161 (uint32_t)f->ecc.rounds * f->ecc.roots * FEC_BLOCKSIZE) { in parse_ecc_header() 166 f->ecc.size = header.fec_size; in parse_ecc_header() 167 f->ecc.start = header.inp_size; in parse_ecc_header() 177 while (n < f->ecc.size) { in parse_ecc_header() 178 if (len > f->ecc.size - n) { in parse_ecc_header() [all …]
|
D | fec_read.cpp | 109 ecc_info *e = &f->ecc; in __ecc_read() 211 rs.reset(init_rs_char(FEC_PARAMS(f->ecc.roots))); in ecc_init() 298 if (f->ecc.start && ecc_init(f, rs, ecc_data) == -1) { in verity_read() 342 if (!f->ecc.start) { in verity_read() 534 } else if (f->ecc.start) { in fec_pread() 535 check(f->ecc.start < f->size); in fec_pread()
|
D | fec_private.h | 100 ecc_info ecc; member
|
/system/core/toolbox/ |
D | nandread.c | 46 struct mtd_ecc_stats initial_ecc, last_ecc, ecc; in nandread_main() local 208 ret = ioctl(fd, ECCGETSTATS, &ecc); in nandread_main() 220 if (ecc.corrected != last_ecc.corrected) in nandread_main() 221 printf("ecc corrected, %u, at %" PRIx64 "\n", ecc.corrected - last_ecc.corrected, pos); in nandread_main() 222 if (ecc.failed != last_ecc.failed) in nandread_main() 223 printf("ecc failed, %u, at %" PRIx64 "\n", ecc.failed - last_ecc.failed, pos); in nandread_main() 224 if (ecc.badblocks != last_ecc.badblocks) in nandread_main() 225 printf("ecc badblocks, %u, at %" PRIx64 "\n", ecc.badblocks - last_ecc.badblocks, pos); in nandread_main() 226 if (ecc.bbtblocks != last_ecc.bbtblocks) in nandread_main() 227 printf("ecc bbtblocks, %u, at %" PRIx64 "\n", ecc.bbtblocks - last_ecc.bbtblocks, pos); in nandread_main() [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 234 struct fec_ecc_metadata ecc; member 253 if (params->ecc.valid) { in format_verity_table() 258 params->ecc.start / FEC_BLOCKSIZE, params->ecc.blocks, params->ecc.roots); in format_verity_table() 263 params->ecc.start / FEC_BLOCKSIZE, params->ecc.blocks, params->ecc.roots); in format_verity_table() 901 if (fec_ecc_get_metadata(f, ¶ms.ecc) < 0) { in fs_mgr_setup_verity() 902 params.ecc.valid = false; in fs_mgr_setup_verity() 962 if (params.ecc.valid) { in fs_mgr_setup_verity() 965 params.ecc.valid = false; in fs_mgr_setup_verity()
|
/system/tpm/trunks/ |
D | tpm_utility_impl.cc | 1718 public_area.unique.ecc.x = Make_TPM2B_ECC_PARAMETER(""); in CreateDefaultPublicArea() 1719 public_area.unique.ecc.y = Make_TPM2B_ECC_PARAMETER(""); in CreateDefaultPublicArea()
|
D | tpm_generated.h | 1459 BYTE ecc[sizeof(TPMS_ECC_POINT)]; member 1510 TPMS_ECC_POINT ecc; member 1534 TPM2B_ECC_PARAMETER ecc; member
|
D | tpm_generated.cc | 8129 result = Serialize_TPMS_ECC_POINT(value.ecc, buffer); in Serialize_TPMU_PUBLIC_ID() 8178 &value->ecc, in Parse_TPMU_PUBLIC_ID() 8442 result = Serialize_TPM2B_ECC_PARAMETER(value.ecc, buffer); in Serialize_TPMU_SENSITIVE_COMPOSITE() 8491 &value->ecc, in Parse_TPMU_SENSITIVE_COMPOSITE()
|
/system/tpm/trunks/generator/ |
D | raw_structures.txt | 14286 ecc[sizeof(TPMS_ECC_POINT)] 14512 ecc 15009 ecc
|
D | raw_structures_fixed.txt | 14298 ecc[sizeof(TPMS_ECC_POINT)] 14524 ecc 15001 ecc
|
D | raw_commands.txt | 4302 If the inPublic.parameters.ecc.symmetric.algorithm does not match the parent, the TPM shall return 9190 &sensitive, &eccKey->publicArea.unique.ecc); 9415 &eccKey->sensitive.sensitive.ecc, 9922 &eccKey->sensitive.sensitive.ecc, 15413 &eccKey->sensitive.sensitive.ecc,
|
D | raw_commands_fixed.txt | 4304 If the inPublic.parameters.ecc.symmetric.algorithm does not match the parent, the TPM shall return 9201 &sensitive, &eccKey->publicArea.unique.ecc); 9426 &eccKey->sensitive.sensitive.ecc, 9933 &eccKey->sensitive.sensitive.ecc, 15424 &eccKey->sensitive.sensitive.ecc,
|