Home
last modified time | relevance | path

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

/system/extras/libfec/
Dfec_verity.cpp573 if (fec_pread(f, &v->ecc_header, sizeof(v->ecc_header), offset) != in verity_parse_header()
574 sizeof(v->ecc_header)) { in verity_parse_header()
583 if (validate_header(f, &v->ecc_header, offset)) { in verity_parse_header()
588 if (!v->disabled && v->header.magic != v->ecc_header.magic) { in verity_parse_header()
590 v->header.magic = v->ecc_header.magic; in verity_parse_header()
593 if (v->header.version != v->ecc_header.version) { in verity_parse_header()
595 v->header.version = v->ecc_header.version; in verity_parse_header()
598 if (v->header.length != v->ecc_header.length) { in verity_parse_header()
600 v->header.length = v->ecc_header.length; in verity_parse_header()
603 if (memcmp(v->header.signature, v->ecc_header.signature, in verity_parse_header()
Dfec_private.h91 verity_header ecc_header; member
Dfec_open.cpp459 memcpy(data->ecc_signature, f->verity.ecc_header.signature, in fec_verity_get_metadata()