Searched refs:c_sig_offs (Results 1 – 1 of 1) sorted by relevance
/external/vboot_reference/tests/ |
D | vb21_host_sig_tests.c | 56 uint32_t c_sig_offs; in sig_tests() local 119 c_sig_offs = sizeof(*c) + 24; in sig_tests() 121 bufsize = c_sig_offs + size; in sig_tests() 127 TEST_SUCC(vb2_sign_object(buf, c_sig_offs, prik, NULL), "Sign object"); in sig_tests() 128 sig = (struct vb2_signature *)(buf + c_sig_offs); in sig_tests() 129 TEST_SUCC(vb2_verify_data(buf, c_sig_offs, sig, pubk, &wb), in sig_tests() 132 TEST_EQ(vb2_sign_object(buf, c_sig_offs + 4, prik, NULL), in sig_tests() 138 bufsize = c_sig_offs + size; in sig_tests() 144 TEST_SUCC(vb2_sign_object_multiple(buf, c_sig_offs, priks, 2), in sig_tests() 146 sig = (struct vb2_signature *)(buf + c_sig_offs); in sig_tests() [all …]
|