Home | History | Annotate | Download | only in tests

Lines Matching defs:sig

78 			     const struct vb2_signature *sig)
86 uint32_t sig_total_size = sig->sig_offset + sig->sig_size;
98 memcpy(sig2, sig, sig_total_size);
101 0, "vb2_verify_data() bad sig alg");
104 memcpy(sig2, sig, sig_total_size);
111 memcpy(sig2, sig, sig_total_size);
116 memcpy(sig2, sig, sig_total_size);
120 memcpy(sig2, sig, sig_total_size);
123 0, "vb2_verify_data() wrong sig size");
125 memcpy(sig2, sig, sig_total_size);
129 memcpy(sig2, sig, sig_total_size);
132 0, "vb2_verify_data() wrong sig");
144 struct vb2_signature *sig = NULL;
165 sig = (struct vb2_signature *)
167 TEST_PTR_NEQ(sig, 0, "Calculate signature");
168 if (!sig)
172 test_verify_data(key1, sig);
176 free(sig);