[roll] Roll fuchsia [kernel][hw_rng] Port rng console commands to Rust

Port the rng32 and rng console commands from debug.cc to a console.rs
sub-module of hw_rng, calling the safe hw_rng_get_entropy directly.
The sub-module is named console.rs instead of debug.rs to avoid
shadowing the existing debug crate inside hw_rng.

Original-Original-Bug: 567220238
Test: `k rng32` and `k rng 40` on x64 QEMU; output matches the C++ build

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1875967
Original-Original-Revision: 065468c9e11021de56b1b9e0db076ccdd56fff82
GitOrigin-RevId: 3432f986fb38488adbd319eca68513b54fc9d276
Change-Id: Ifb2516ba59d4351f5845414e7ba9132e8d6a4ec3
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1878978
Cr-Commit-Position: refs/heads/main@{#205333}
1 file changed
tree: 65eeaf08ca2a4395147adb158bae7f944758d473
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.