Home | History | Annotate | Download | only in recovery

Lines Matching defs:eocd

158         LOGE("not big enough to contain EOCD\n");
164 // includes all of the EOCD except for the comment length field (2
168 unsigned char* eocd = addr + length - eocd_size;
170 // If this is really is the EOCD record, it will begin with the
172 if (eocd[0] != 0x50 || eocd[1] != 0x4b ||
173 eocd[2] != 0x05 || eocd[3] != 0x06) {
174 LOGE("signature length doesn't match EOCD marker\n");
180 if (eocd[i ] == 0x50 && eocd[i+1] == 0x4b &&
181 eocd[i+2] == 0x05 && eocd[i+3] == 0x06) {
186 LOGE("EOCD marker occurs after start of EOCD\n");
231 if (!read_pkcs7(eocd + eocd_size - signature_start, signature_size, &sig_der,