mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
riscv-qemu: add VirtIO RNG device
This implements machine.GetRNG() using VirtIO. This gets the tests to pass for crypto/md5 and crypto/sha1 that use crypto/rand in their tests.
This commit is contained in:
committed by
Ron Evans
parent
7f970a45c2
commit
cab3834bc9
@@ -429,7 +429,6 @@ TEST_PACKAGES_NONWASM = \
|
||||
#
|
||||
# * No filesystem is available, so packages like compress/zlib can't be tested
|
||||
# (just like wasm).
|
||||
# * There is no RNG implemented (TODO, I think this is fixable).
|
||||
# * picolibc math functions apparently are less precise, the math package
|
||||
# fails on baremetal.
|
||||
# * Some packages fail or hang for an unknown reason, this should be
|
||||
@@ -438,8 +437,6 @@ TEST_PACKAGES_BAREMETAL = $(filter-out $(TEST_PACKAGES_NONBAREMETAL), $(TEST_PAC
|
||||
TEST_PACKAGES_NONBAREMETAL = \
|
||||
$(TEST_PACKAGES_NONWASM) \
|
||||
crypto/elliptic \
|
||||
crypto/md5 \
|
||||
crypto/sha1 \
|
||||
math \
|
||||
reflect \
|
||||
encoding/asn1 \
|
||||
|
||||
Reference in New Issue
Block a user