Lines Matching refs:buf2
118 uint8_t *buf2; in test_verify_signature() local
123 buf2 = malloc(size); in test_verify_signature()
124 sig2 = (struct vb2_signature *)buf2; in test_verify_signature()
126 memcpy(buf2, sig, size); in test_verify_signature()
132 memcpy(buf2, sig, size); in test_verify_signature()
137 memcpy(buf2, sig, size); in test_verify_signature()
144 memcpy(buf2, sig, size); in test_verify_signature()
150 memcpy(buf2, sig, size); in test_verify_signature()
155 memcpy(buf2, sig, size); in test_verify_signature()
160 memcpy(buf2, sig, size); in test_verify_signature()
166 free(buf2); in test_verify_signature()
178 uint8_t *buf2; in test_verify_data() local
187 buf2 = malloc(size); in test_verify_data()
188 sig2 = (struct vb2_signature *)buf2; in test_verify_data()
190 memcpy(buf2, sig, size); in test_verify_data()
196 memcpy(buf2, sig, size); in test_verify_data()
204 memcpy(buf2, sig, size); in test_verify_data()
210 memcpy(buf2, sig, size); in test_verify_data()
214 memcpy(buf2, sig, size); in test_verify_data()
219 memcpy(buf2, sig, size); in test_verify_data()
223 memcpy(buf2, sig, size); in test_verify_data()
231 memcpy(buf2, sig, size); in test_verify_data()
232 buf2[sig2->sig_offset] ^= 0x5A; in test_verify_data()
236 free(buf2); in test_verify_data()