Home
last modified time | relevance | path

Searched refs:VB2_WORKBUF_ALIGN (Results 1 – 21 of 21) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2common.c60 if (vb2_align(&wb->buf, &wb->size, VB2_WORKBUF_ALIGN, 0)) in vb2_workbuf_init()
72 return (v + VB2_WORKBUF_ALIGN - 1) & ~(VB2_WORKBUF_ALIGN - 1); in wb_round_up()
D2misc.c130 if (!vb2_aligned(ctx->workbuf, VB2_WORKBUF_ALIGN)) in vb2_init_context()
/external/vboot_reference/tests/
Dvb2_common_tests.c66 uint64_t buf[8] __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_workbuf()
79 TEST_EQ(vb2_offset_of(p0, wb.buf), VB2_WORKBUF_ALIGN, in test_workbuf()
81 TEST_EQ(wb.size, 64 - VB2_WORKBUF_ALIGN + 4, " size"); in test_workbuf()
Dvb20_misc_tests.c21 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
187 (wb_used_before + (VB2_WORKBUF_ALIGN - 1)) & in verify_keyblock_tests()
188 ~(VB2_WORKBUF_ALIGN - 1), in verify_keyblock_tests()
283 (wb_used_before + (VB2_WORKBUF_ALIGN - 1)) & in verify_preamble_tests()
284 ~(VB2_WORKBUF_ALIGN - 1), in verify_preamble_tests()
Dvb20_rsa_padding_tests.c46 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_signatures()
79 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_digest()
Dvb21_api_tests.c27 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
214 (wb_used_before + (VB2_WORKBUF_ALIGN - 1)) & in init_hash_tests()
215 ~(VB2_WORKBUF_ALIGN - 1), in init_hash_tests()
Dvb21_misc_tests.c23 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
194 (wb_used_before + (VB2_WORKBUF_ALIGN - 1)) & in load_keyblock_tests()
195 ~(VB2_WORKBUF_ALIGN - 1), in load_keyblock_tests()
Dvb20_api_tests.c21 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
245 (wb_used_before + (VB2_WORKBUF_ALIGN - 1)) & in init_hash_tests()
246 ~(VB2_WORKBUF_ALIGN - 1), in init_hash_tests()
Dvb21_common_tests.c224 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_hash()
263 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_keyblock()
390 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_fw_preamble()
Dvb2_secdata_tests.c34 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in secdata_test()
Dvb21_host_fw_preamble_tests.c43 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in preamble_tests()
Dvb20_verify_fw.c142 uint8_t workbuf[16384] __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in main()
Dvb20_common3_tests.c37 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_keyblock()
180 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_fw_preamble()
Dvb21_host_keyblock_tests.c33 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in keyblock_tests()
Dvb2_api_tests.c21 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
Dvb2_nvstorage_tests.c67 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in nv_storage_test()
Dvb20_common2_tests.c81 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_data()
Dvb21_host_sig_tests.c50 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in sig_tests()
Dvb21_common2_tests.c173 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_data()
Dvb2_misc_tests.c19 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
/external/vboot_reference/firmware/2lib/include/
D2common.h57 #define VB2_WORKBUF_ALIGN __BIGGEST_ALIGNMENT__ macro