Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp552 if (fec_pread(f, &v->ecc_header, sizeof(v->ecc_header), offset) != in verity_parse_header()
553 sizeof(v->ecc_header)) { in verity_parse_header()
562 if (validate_header(f, &v->ecc_header, offset)) { in verity_parse_header()
567 if (!v->disabled && v->header.magic != v->ecc_header.magic) { in verity_parse_header()
569 v->header.magic = v->ecc_header.magic; in verity_parse_header()
572 if (v->header.version != v->ecc_header.version) { in verity_parse_header()
574 v->header.version = v->ecc_header.version; in verity_parse_header()
577 if (v->header.length != v->ecc_header.length) { in verity_parse_header()
579 v->header.length = v->ecc_header.length; in verity_parse_header()
582 if (memcmp(v->header.signature, v->ecc_header.signature, in verity_parse_header()
Dfec_private.h91 verity_header ecc_header; member
Dfec_open.cpp465 memcpy(data->ecc_signature, f->verity.ecc_header.signature, in fec_verity_get_metadata()