Lines Matching refs:buf2

260 	uint8_t *buf, *buf2;  in test_verify_keyblock()  local
286 buf2 = malloc(buf_size); in test_verify_keyblock()
287 memcpy(buf2, buf, buf_size); in test_verify_keyblock()
295 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
299 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
304 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
310 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
316 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
322 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
331 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
338 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
344 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
351 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
358 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
365 memcpy(buf, buf2, buf_size); in test_verify_keyblock()
372 free(buf2); in test_verify_keyblock()
387 uint8_t *buf, *buf2; in test_verify_fw_preamble() local
426 buf2 = malloc(buf_size); in test_verify_fw_preamble()
427 memcpy(buf2, buf, buf_size); in test_verify_fw_preamble()
435 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
441 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
447 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
453 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
462 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
469 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
476 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
483 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
489 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
496 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
503 memcpy(buf, buf2, buf_size); in test_verify_fw_preamble()
510 free(buf2); in test_verify_fw_preamble()