Lines Matching defs:fp
27 struct vb2_fw_preamble fp = {
31 .c.fixed_size = sizeof(fp),
46 hash_next = fp.hash_offset = fp.c.fixed_size + fp.c.desc_size;
51 fp.sig_offset = hash_next;
56 fp.c.total_size = fp.sig_offset + sig_size;
59 buf = calloc(fp.c.total_size, 1);
63 memcpy(buf, &fp, sizeof(fp));
64 if (fp.c.desc_size)
65 strcpy((char *)buf + fp.c.fixed_size, desc);
67 hash_next = fp.hash_offset;
75 if (vb2_sign_object(buf, fp.sig_offset, signing_key, NULL)) {