Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcrypto/
Dhwkey_srv.c704 uint8_t random_buf[HWKEY_OPAQUE_HANDLE_SIZE + 2]; in get_key_handle() local
706 int rc = hwrng_dev_get_rng_data(random_buf, sizeof(random_buf)); in get_key_handle()
714 for (size_t i = 0; i < sizeof(random_buf) && in get_key_handle()
717 if (random_buf[i] != 0) { in get_key_handle()
718 entry->token[token_offset] = random_buf[i]; in get_key_handle()