Home
last modified time | relevance | path

Searched refs:ecc_header (Results 1 – 3 of 3) sorted by relevance

/system/extras/libfec/
Dfec_verity.cpp564 if (fec_pread(f, &v->ecc_header, sizeof(v->ecc_header), offset) != in verity_parse_header()
565 sizeof(v->ecc_header)) { in verity_parse_header()
574 if (validate_header(f, &v->ecc_header, offset)) { in verity_parse_header()
579 if (!v->disabled && v->header.magic != v->ecc_header.magic) { in verity_parse_header()
581 v->header.magic = v->ecc_header.magic; in verity_parse_header()
584 if (v->header.version != v->ecc_header.version) { in verity_parse_header()
586 v->header.version = v->ecc_header.version; in verity_parse_header()
589 if (v->header.length != v->ecc_header.length) { in verity_parse_header()
591 v->header.length = v->ecc_header.length; in verity_parse_header()
594 if (memcmp(v->header.signature, v->ecc_header.signature, in verity_parse_header()
Dfec_private.h124 verity_header ecc_header; member
Dfec_open.cpp449 memcpy(data->ecc_signature, f->verity.ecc_header.signature, in fec_verity_get_metadata()