Searched refs:get_random (Results 1 – 9 of 9) sorted by relevance
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_GetRandom.c | 146 IFAPI_GetRandom * command = &context->get_random; in Fapi_GetRandom_Async() 212 IFAPI_GetRandom * command = &context->get_random; in Fapi_GetRandom_Finish() 254 SAFE_FREE(context->get_random.data); in Fapi_GetRandom_Finish()
|
/external/avb/test/ |
D | fake_avb_ops.h | 117 virtual AvbIOResult get_random(size_t num_bytes, uint8_t* output) = 0; 294 AvbIOResult get_random(size_t num_bytes, uint8_t* output) override; 451 AvbIOResult get_random(size_t num_bytes, uint8_t* output) override { in get_random() function 452 return ops_.get_random(num_bytes, output); in get_random()
|
D | avb_atx_slot_verify_unittest.cc | 96 AvbIOResult get_random(size_t num_bytes, uint8_t* output) override { in get_random() function in avb::AvbAtxSlotVerifyExampleTest 97 return ops_.get_random(num_bytes, output); in get_random()
|
D | fake_avb_ops.cc | 425 AvbIOResult FakeAvbOps::get_random(size_t num_bytes, uint8_t* output) { in get_random() function in avb::FakeAvbOps 589 ->get_random(num_bytes, output); in my_ops_get_random() 620 avb_atx_ops_.get_random = my_ops_get_random; in FakeAvbOps()
|
D | avb_atx_validate_unittest.cc | 216 AvbIOResult get_random(size_t num_bytes, uint8_t* output) override { in get_random() function in avb::AvbAtxValidateTest 224 return ops_.get_random(num_bytes, output); in get_random()
|
/external/avb/libavb_atx/ |
D | avb_atx_ops.h | 75 AvbIOResult (*get_random)(AvbAtxOps* atx_ops, member
|
D | avb_atx_validate.c | 300 result = atx_ops->get_random( in avb_atx_generate_unlock_challenge()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | fapi_util.c | 2272 context->get_random.numBytes = numBytes; in ifapi_get_random() 2273 context->get_random.data = calloc(context->get_random.numBytes, 1); in ifapi_get_random() 2274 context->get_random.idx = 0; in ifapi_get_random() 2275 return_if_null(context->get_random.data, "FAPI out of memory.", in ifapi_get_random() 2282 min(context->get_random.numBytes, sizeof(TPMU_HA))); in ifapi_get_random() 2291 if (aux_data -> size > context->get_random.numBytes) { in ifapi_get_random() 2297 memcpy(context->get_random.data + context->get_random.idx, &aux_data->buffer[0], in ifapi_get_random() 2299 context->get_random.numBytes -= aux_data->size; in ifapi_get_random() 2300 context->get_random.idx += aux_data->size; in ifapi_get_random() 2303 if (context->get_random.numBytes > 0) { in ifapi_get_random() [all …]
|
D | fapi_int.h | 992 IFAPI_GetRandom get_random; member
|