Searched refs:VB2_WORKBUF_ALIGN (Results 1 – 21 of 21) sorted by relevance
/external/vboot_reference/firmware/2lib/ |
D | 2common.c | 60 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()
|
D | 2misc.c | 130 if (!vb2_aligned(ctx->workbuf, VB2_WORKBUF_ALIGN)) in vb2_init_context()
|
/external/vboot_reference/tests/ |
D | vb2_common_tests.c | 66 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()
|
D | vb20_misc_tests.c | 21 __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()
|
D | vb20_rsa_padding_tests.c | 46 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_signatures() 79 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_digest()
|
D | vb21_api_tests.c | 27 __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()
|
D | vb20_api_tests.c | 21 __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()
|
D | vb21_misc_tests.c | 23 __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()
|
D | vb21_common_tests.c | 224 __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()
|
D | vb21_host_fw_preamble_tests.c | 43 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in preamble_tests()
|
D | vb2_secdata_tests.c | 34 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in secdata_test()
|
D | vb20_verify_fw.c | 142 uint8_t workbuf[16384] __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in main()
|
D | vb20_common3_tests.c | 37 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_keyblock() 180 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_fw_preamble()
|
D | vb21_host_keyblock_tests.c | 33 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in keyblock_tests()
|
D | vb2_api_tests.c | 21 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
|
D | vb2_nvstorage_tests.c | 67 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in nv_storage_test()
|
D | vb20_common2_tests.c | 81 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_data()
|
D | vb21_host_sig_tests.c | 50 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in sig_tests()
|
D | vb21_common2_tests.c | 173 __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); in test_verify_data()
|
D | vb2_misc_tests.c | 19 __attribute__ ((aligned (VB2_WORKBUF_ALIGN)));
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2common.h | 57 #define VB2_WORKBUF_ALIGN __BIGGEST_ALIGNMENT__ macro
|