summaryrefslogtreecommitdiffstats
path: root/source/components/disassembler
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-09-13 09:25:38 +0000
committermav <mav@FreeBSD.org>2016-09-13 09:25:38 +0000
commit693cfd520304105736117c03399e6cdc8596a0b1 (patch)
treedb1937851f054ac0fa9e3b8ab4bf386b8692a45b /source/components/disassembler
parent1e561bde87ea83d79d9b51cb7bd5300d5c286656 (diff)
downloadFreeBSD-src-693cfd520304105736117c03399e6cdc8596a0b1.zip
FreeBSD-src-693cfd520304105736117c03399e6cdc8596a0b1.tar.gz
MFC r305679: Switch random_get_pseudo_bytes() shim to arc4rand().
Our shim for Solaris random_get_bytes() uses read_random(), that looks reasonable, since it guaranties reliably seeded random data. On the other side Solaris random_get_pseudo_bytes() does not provide this guarantie, and its original Solaris implementation is equivalent to our arc4rand(), using software crypto without stressing slower hardware RNG.
Diffstat (limited to 'source/components/disassembler')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud