Searched refs:ecc (Results 1 – 13 of 13) 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() 150 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_ecc_header() 151 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_ecc_header() 154 (uint32_t)f->ecc.rounds * f->ecc.roots * FEC_BLOCKSIZE) { in parse_ecc_header() 159 f->ecc.size = header.fec_size; in parse_ecc_header() 160 f->ecc.start = header.inp_size; in parse_ecc_header() 170 while (n < f->ecc.size) { in parse_ecc_header() 171 if (len > f->ecc.size - n) { in parse_ecc_header() [all …]
|
D | avb_utils.cpp | 128 f->ecc.blocks = fec_div_round_up(f->data_size, FEC_BLOCKSIZE); in parse_avb_image() 129 f->ecc.rounds = fec_div_round_up(f->ecc.blocks, f->ecc.rsn); in parse_avb_image() 130 f->ecc.size = hashtree_descriptor.fec_size; in parse_avb_image() 131 f->ecc.start = hashtree_descriptor.fec_offset; in parse_avb_image() 133 f->ecc.valid = true; in parse_avb_image()
|
D | fec_read.cpp | 111 ecc_info *e = &f->ecc; in __ecc_read() 213 rs.reset(init_rs_char(FEC_PARAMS(f->ecc.roots))); in ecc_init() 300 if (f->ecc.start && ecc_init(f, rs, ecc_data) == -1) { in verity_read() 343 if (!f->ecc.start) { in verity_read() 531 } else if (f->ecc.start) { in fec_pread() 532 check(f->ecc.start < f->size); in fec_pread()
|
D | fec_private.h | 134 ecc_info ecc; member
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 190 struct fec_ecc_metadata ecc; member 209 if (params->ecc.valid) { in format_verity_table() 214 params->ecc.start / FEC_BLOCKSIZE, params->ecc.blocks, params->ecc.roots); in format_verity_table() 219 params->ecc.start / FEC_BLOCKSIZE, params->ecc.blocks, params->ecc.roots); in format_verity_table() 419 if (fec_ecc_get_metadata(f, ¶ms.ecc) < 0) { in fs_mgr_setup_verity() 420 params.ecc.valid = false; in fs_mgr_setup_verity() 474 if (params.ecc.valid) { in fs_mgr_setup_verity() 477 params.ecc.valid = false; in fs_mgr_setup_verity()
|
/system/bt/gd/security/ |
D | ecdh_keys.cc | 57 ecc::Point public_key; in GenerateECDHKeyPair() 59 ECC_PointMult(&public_key, &(ecc::curve_p256.G), (uint32_t*)private_key_copy.data()); in GenerateECDHKeyPair() 70 ecc::Point public_key; in ValidateECDHPoint() 78 ecc::Point peer_publ_key, new_publ_key; in ComputeDHKey()
|
D | Android.bp | 13 "ecc/multprecision.cc", 14 "ecc/p_256_ecc_pp.cc", 33 "ecc/multipoint_test.cc",
|
D | BUILD.gn | 36 "ecc/multprecision.cc", 37 "ecc/p_256_ecc_pp.cc",
|
/system/bt/gd/security/ecc/ |
D | p_256_ecc_pp.h | 32 namespace ecc {
|
D | multprecision.h | 30 namespace ecc {
|
D | multipoint_test.cc | 25 namespace ecc { namespace
|
D | p_256_ecc_pp.cc | 33 namespace ecc { namespace
|
D | multprecision.cc | 30 namespace ecc { namespace
|