Home | History | Annotate | Download | only in lib21

Lines Matching defs:sig

46 	const struct vb2_signature *sig = NULL;
63 sig = (const struct vb2_signature *)
66 if (!memcmp(guid, &sig->guid, sizeof(*guid)))
69 hash_offset += sig->c.total_size;
90 sd->hash_tag = vb2_offset_of(ctx->workbuf, sig);
91 sd->hash_remaining_size = sig->data_size;
94 *size = sig->data_size;
97 rv = vb2ex_hwcrypto_digest_init(sig->hash_alg, sig->data_size);
100 sig->hash_alg);
101 dc->hash_alg = sig->hash_alg;
108 sig->hash_alg);
113 return vb2_digest_init(dc, sig->hash_alg);
126 const struct vb2_signature *sig;
135 sig = (const struct vb2_signature *)(ctx->workbuf + sd->hash_tag);
159 if (vb2_safe_memcmp(digest, (const uint8_t *)sig + sig->sig_offset,