Home | History | Annotate | Download | only in tests

Lines Matching defs:sig

68 	struct vb2_signature *sig;
105 vb2_sign_data(&sig, mock_body, mock_body_size - 16 * i,
107 memcpy(&sig->guid, test_guid + i, sizeof(sig->guid));
108 memcpy((uint8_t *)pre + sig_offset, sig, sig->c.total_size);
109 sig_offset += sig->c.total_size;
110 mock_sig_size = sig->c.total_size;
111 free(sig);
201 struct vb2_signature *sig;
208 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset);
252 sig->hash_alg = VB2_HASH_INVALID;
308 struct vb2_signature *sig;
314 sig = (struct vb2_signature *)((uint8_t *)pre + pre->hash_offset);
341 *((uint8_t *)sig + sig->sig_offset) ^= 0x55;
343 VB2_ERROR_API_CHECK_HASH_SIG, "check hash sig");
353 *((uint8_t *)sig + sig->sig_offset) ^= 0x55;