/external/vboot_reference/tests/ |
vb2_secdata_tests.c | 33 uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] local 37 .workbuf = workbuf, 38 .workbuf_size = sizeof(workbuf),
|
vb20_rsa_padding_tests.c | 45 uint8_t workbuf[VB2_VERIFY_DIGEST_WORKBUF_BYTES] local 52 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 78 uint8_t workbuf[VB2_VERIFY_DIGEST_WORKBUF_BYTES] local 84 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 91 vb2_workbuf_init(&wb, workbuf, sizeof(sig) * 3 - 1); 94 "vb2_rsa_verify_digest() small workbuf"); 95 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); [all...] |
vb20_verify_fw.c | 142 uint8_t workbuf[16384] __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); local 157 ctx.workbuf = workbuf; 158 ctx.workbuf_size = sizeof(workbuf); 208 printf("Workbuf used = %d bytes\n", ctx.workbuf_used);
|
vb21_host_fw_preamble_tests.c | 42 uint8_t workbuf[VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES] local 46 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb21_host_keyblock_tests.c | 32 uint8_t workbuf[VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES] local 36 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb2_nvstorage_tests.c | 66 uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] local 70 .workbuf = workbuf, 71 .workbuf_size = sizeof(workbuf),
|
vb20_common2_tests.c | 80 uint8_t workbuf[VB2_VERIFY_DATA_WORKBUF_BYTES] local 89 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 110 vb2_workbuf_init(&wb, workbuf, 4); 113 0, "vb2_verify_data() workbuf too small"); 114 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb21_host_sig_tests.c | 49 uint8_t workbuf[VB2_VERIFY_DATA_WORKBUF_BYTES] local 58 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb2_api_tests.c | 20 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 50 memset(workbuf, 0xaa, sizeof(workbuf)); 53 cc.workbuf = workbuf; 54 cc.workbuf_size = sizeof(workbuf);
|
vb20_api_tests.c | 20 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 56 memset(workbuf, 0xaa, sizeof(workbuf)); 59 cc.workbuf = workbuf; 60 cc.workbuf_size = sizeof(workbuf); 80 (cc.workbuf + sd->workbuf_preamble_offset); 93 (cc.workbuf + sd->workbuf_data_key_offset); 252 "hash uses workbuf"); 278 VB2_ERROR_API_INIT_HASH_WORKBUF, "init hash workbuf"); [all...] |
vb20_common3_tests.c | 36 uint8_t workbuf[VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES] local 44 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 179 uint8_t workbuf[VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES] local 184 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb20_misc_tests.c | 20 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 64 memset(workbuf, 0xaa, sizeof(workbuf)); 67 cc.workbuf = workbuf; 68 cc.workbuf_size = sizeof(workbuf); 192 "workbuf used"); 195 k = (struct vb2_packed_key *)(cc.workbuf + sd->workbuf_data_key_offset); 200 TEST_EQ(memcmp(cc.workbuf + sd->workbuf_data_key_offset + 206 "workbuf used after") [all...] |
vb21_api_tests.c | 26 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 73 memset(workbuf, 0xaa, sizeof(workbuf)); 76 ctx.workbuf = workbuf; 77 ctx.workbuf_size = sizeof(workbuf); 96 (ctx.workbuf + sd->workbuf_preamble_offset); 207 (ctx.workbuf + sd->workbuf_preamble_offset); 221 "hash uses workbuf"); 249 VB2_ERROR_API_INIT_HASH_WORKBUF, "init hash workbuf"); [all...] |
vb21_common2_tests.c | 172 uint8_t workbuf[VB2_VERIFY_DATA_WORKBUF_BYTES] local 181 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 203 vb2_workbuf_init(&wb, workbuf, 4); 207 "vb2_verify_data() workbuf too small"); 208 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb21_common_tests.c | 223 uint8_t workbuf[VB2_VERIFY_DATA_WORKBUF_BYTES] local 227 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 262 uint8_t workbuf[VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES] local 289 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf)); 389 uint8_t workbuf[VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES] local 429 vb2_workbuf_init(&wb, workbuf, sizeof(workbuf));
|
vb21_misc_tests.c | 22 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 67 memset(workbuf, 0xaa, sizeof(workbuf)); 70 ctx.workbuf = workbuf; 71 ctx.workbuf_size = sizeof(workbuf); 199 "workbuf used"); 202 k = (struct vb2_packed_key *)(ctx.workbuf + 208 TEST_EQ(memcmp(ctx.workbuf + sd->workbuf_data_key_offset + 214 "workbuf used after") [all...] |
vb2_misc_tests.c | 18 static uint8_t workbuf[VB2_WORKBUF_RECOMMENDED_SIZE] variable 33 memset(workbuf, 0xaa, sizeof(workbuf)); 36 cc.workbuf = workbuf; 37 cc.workbuf_size = sizeof(workbuf); 82 .workbuf = workbuf, 83 .workbuf_size = sizeof(workbuf), 97 /* Handle workbuf errors * [all...] |
/external/vboot_reference/firmware/2lib/include/ |
2api.h | 113 uint8_t *workbuf; member in struct:vb2_context
|
/prebuilts/go/darwin-x86/src/runtime/ |
mgcwork.go | 25 // A wbufptr holds a workbuf*, but protects it from write barriers. 27 // Write barriers on workbuf pointers may also be dangerous in the GC. 30 func wbufptrOf(w *workbuf) wbufptr { 34 func (wp wbufptr) ptr() *workbuf { 35 return (*workbuf)(unsafe.Pointer(wp)) 165 throw("dispose: workbuf is empty") 207 inuse bool // This workbuf is in use by some gorotuine and is not on the work.empty/partial/full queues. 208 log [4]int // line numbers forming a history of ownership changes to workbuf 211 type workbuf struct { type 217 // workbuf factory routines. These funcs are used to manage th [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
mgcwork.go | 25 // A wbufptr holds a workbuf*, but protects it from write barriers. 27 // Write barriers on workbuf pointers may also be dangerous in the GC. 30 func wbufptrOf(w *workbuf) wbufptr { 34 func (wp wbufptr) ptr() *workbuf { 35 return (*workbuf)(unsafe.Pointer(wp)) 165 throw("dispose: workbuf is empty") 207 inuse bool // This workbuf is in use by some gorotuine and is not on the work.empty/partial/full queues. 208 log [4]int // line numbers forming a history of ownership changes to workbuf 211 type workbuf struct { type 217 // workbuf factory routines. These funcs are used to manage th [all...] |