Lines Matching defs:sig
225 struct vb2_signature *sig = NULL;
228 rv = vb2_sign_data(&sig, buf, sig_offset, key, desc);
232 if (sig_offset + sig->c.total_size > c->total_size) {
233 free(sig);
237 memcpy(buf + sig_offset, sig, sig->c.total_size);
238 free(sig);
253 struct vb2_signature *sig = NULL;
255 rv = vb2_sign_data(&sig, buf, sig_offset, key_list[i], NULL);
259 if (sig_next + sig->c.total_size > c->total_size) {
260 free(sig);
264 memcpy(buf + sig_next, sig, sig->c.total_size);
265 sig_next += sig->c.total_size;
266 free(sig);