Lines Matching refs:sig
78 const struct vb2_signature *sig) in test_verify_data() argument
86 uint32_t sig_total_size = sig->sig_offset + sig->sig_size; in test_verify_data()
98 memcpy(sig2, sig, sig_total_size); in test_verify_data()
104 memcpy(sig2, sig, sig_total_size); in test_verify_data()
111 memcpy(sig2, sig, sig_total_size); in test_verify_data()
116 memcpy(sig2, sig, sig_total_size); in test_verify_data()
120 memcpy(sig2, sig, sig_total_size); in test_verify_data()
125 memcpy(sig2, sig, sig_total_size); in test_verify_data()
129 memcpy(sig2, sig, sig_total_size); in test_verify_data()
144 struct vb2_signature *sig = NULL; in test_algorithm() local
165 sig = (struct vb2_signature *) in test_algorithm()
167 TEST_PTR_NEQ(sig, 0, "Calculate signature"); in test_algorithm()
168 if (!sig) in test_algorithm()
172 test_verify_data(key1, sig); in test_algorithm()
176 free(sig); in test_algorithm()