Home
last modified time | relevance | path

Searched refs:get_random (Results 1 – 9 of 9) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/api/
DFapi_GetRandom.c146 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/
Dfake_avb_ops.h117 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()
Davb_atx_slot_verify_unittest.cc96 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()
Dfake_avb_ops.cc425 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()
Davb_atx_validate_unittest.cc216 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/
Davb_atx_ops.h75 AvbIOResult (*get_random)(AvbAtxOps* atx_ops, member
Davb_atx_validate.c300 result = atx_ops->get_random( in avb_atx_generate_unlock_challenge()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_util.c2272 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 …]
Dfapi_int.h992 IFAPI_GetRandom get_random; member