<wens>
so I was mainly playing around with my chromebook. the tpm trng gives _no_ failures with rngtest
<wens>
the rk-crypto one (which I implemented) gives mostly failures :(
<wens>
rpi's rng gives roughly 1 failure per 1000 successes
selfbg has quit [Ping timeout: 246 seconds]
msev- has joined #linux-sunxi
yann|work has quit [Ping timeout: 268 seconds]
msev- has quit [Quit: Leaving]
<montjoie>
wens: I used it a bit for testing sun4i-ss rng
airstorm has joined #linux-sunxi
rra has joined #linux-sunxi
selfbg has joined #linux-sunxi
diego_r has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
tnovotny has joined #linux-sunxi
ldevulder_ is now known as ldevulder
warpme_ has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
<wens>
montjoie: what sorts of results did you get?
<montjoie>
very few failure like 1/2 per 1000 in my memory, but it is a prng so ok for me
gaston1980 has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 265 seconds]
yann|work has joined #linux-sunxi
rra has left #linux-sunxi [#linux-sunxi]
gsz has joined #linux-sunxi
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
florian_kc has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
random_yanek has quit [Ping timeout: 276 seconds]
florian_kc is now known as florian
<wens>
I read somewhere that it's normal for TRNGs to fail rngtest a bit, as it's truly random and doesn't always conform to some test spec
random_yanek has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
dddddd has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Ping timeout: 268 seconds]
agates[m] has quit [Quit: killed]
oliv3r[m] has quit [Quit: killed]
hpagseddy[m] has quit [Quit: killed]
z3ntu_ has quit [Quit: killed]
Jeremy_Rand_Talo has quit [Quit: killed]
Danct12 has quit [Quit: killed]
solderfumes has quit [Quit: killed]
MartijnBraam has quit [Quit: killed]
JuniorJPDJ has quit [Quit: killed]
EmilKarlson has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
davidebeatrici has quit [Quit: killed]
t4h4[m] has quit [Quit: killed]
freddor has quit [Quit: killed]
romainmahoux[m] has quit [Quit: killed]
k40s[m] has quit [Quit: killed]
mic-e[m] has quit [Quit: killed]
atopuzov[m] has quit [Write error: Connection reset by peer]
fevv8[m] has quit [Write error: Connection reset by peer]
<KotCzarny>
well, truly random should also mean 'no patterns with enough data'
<KotCzarny>
and i suspect those tests check if there are any patterns in the stream
vagrantc has joined #linux-sunxi
merbzt has quit [Ping timeout: 246 seconds]
oliv3r[m] has joined #linux-sunxi
merbzt has joined #linux-sunxi
AneoX has joined #linux-sunxi
<diego71>
KotCzarny: more or less. The problem is that with enough data, any pattern can happen, so eventually some test can fail. If you have multiple test, it becames normal that one or more test fail
<KotCzarny>
yup
<KotCzarny>
predictability should be 0, uniformity should be close to 1 with large set of data
<KotCzarny>
some guy visualized some prgns long time ago
<KotCzarny>
windows was awful, freebsd was a nice cloud
freddor has quit [Quit: User has been idle for 30+ days.]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
vagrantc has quit [Ping timeout: 245 seconds]
<willmore>
KotCzarny, you thinking of the TCP random port selection thing?
<KotCzarny>
yeah, in that particular case
<KotCzarny>
but consideration what was deemed random stays the same
<willmore>
I remember that. It was a nice visualization. But visualization is an incredibly low bar. To fail even that....
<KotCzarny>
visualization relies on a wonderful feature of our brains to find patterns
<KotCzarny>
you wont see it in numbers alone
<willmore>
Windows looked bad because they had only used a few bits of entropy, so where full randomness would have been a grey cube, they had clear layers.
<willmore>
IIRC, they had a lot less entropy in their values, but the entropy they had was good.
<willmore>
Better random numbers is better.
<willmore>
Been a while since I studied Kolmogorov.
rra has joined #linux-sunxi
rra has left #linux-sunxi [#linux-sunxi]
rra has joined #linux-sunxi
rra has left #linux-sunxi [#linux-sunxi]
rra has joined #linux-sunxi
vagrantc has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 250 seconds]
return0__ has joined #linux-sunxi
return0e has quit [Ping timeout: 240 seconds]
libv_ is now known as libv
vagrantc has quit [Ping timeout: 276 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
libv_ has quit [Ping timeout: 276 seconds]
merbanan has joined #linux-sunxi
libv has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
libv_ has quit [Ping timeout: 265 seconds]
tllim has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
return0e has joined #linux-sunxi
return0__ has quit [Ping timeout: 265 seconds]
swiftgeek has quit [Ping timeout: 268 seconds]
libv has joined #linux-sunxi
airstorm has quit [Quit: airstorm]
swiftgeek has joined #linux-sunxi
lkcl has quit [Ping timeout: 265 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
vagrantc has joined #linux-sunxi
vagrantc has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has joined #linux-sunxi
lkcl has quit [Ping timeout: 246 seconds]
<montjoie>
why the mainline TODO section was removed in the wiki ?
<KotCzarny>
was it?
<montjoie>
a section with "low medium hard difficulty" existed
<KotCzarny>
hmm
<megi>
I see it there, it's called work in progress
<montjoie>
no I remember a section like "pick one"
<montjoie>
"left to be done"
<montjoie>
I found it on december 2017
<megi>
hmm, that can certainly be inferred from the feature support matrix, though
<KotCzarny>
(cur | prev) 13:31, 22 February 2018\u200e Mripard (Talk | contribs)\u200e . . (44,824 bytes) (-1,071)\u200e . . (Remove the "left to be done" section. It was rotting for some years(?) and has never really been updated)
<KotCzarny>
put it back and update if you think it's meaningful to be there
<montjoie>
I dont know what is remaining apart from crypto
<montjoie>
but for example, I have a coworker which seek a "driver to do"
<montjoie>
a section like that is good for wanna do something starter
<megi>
no, I don't have the latest code published, since it's a bit of WiP mess
<jernej>
does it work already?
<megi>
but it has powerup, interrupts, I2S interface setup, register defs, etc.
<megi>
not yet
<MoeIcenowy>
I think
<MoeIcenowy>
AC200 is totally different to AC100
yann|work has quit [Ping timeout: 250 seconds]
<megi>
looking at the datasheet of ac200, you're quite right :)
<jernej>
let me check, but IIRC AC200 has much more registers, but only few are used in driver
<megi>
ac100 has a much more complicated codec part
<megi>
I think it's best if ac100/ac200 will have separate drivers
<jernej>
I guess you're right
dddddd has quit [Ping timeout: 268 seconds]
deesix has quit [Ping timeout: 268 seconds]
deesix has joined #linux-sunxi
<megi>
ac100 registers table has one row that reads "...", that expands to another ~60 registers, that they omitted in the overview :)
<megi>
I think it's meant to support a phone use case, as it has all that's needed for that, and I was able to make a call on a tablet that has AC100
tnovotny has quit [Quit: Leaving]
<MoeIcenowy>
phone calls...
<MoeIcenowy>
this reminds the disaster on PinePhone
dddddd has joined #linux-sunxi
<megi>
MoeIcenowy: I tried it on Android,... what disaster?
<MoeIcenowy>
audio routing is not so easy on GNU/Linux
florian has quit [Ping timeout: 268 seconds]
<megi>
isn't it just a bunch of ioctls to setup some topology/controls and that's about it? I've only looked at the sound subsystem from the inside, yet, though
<megi>
maybe I'm up for a surprise, when I try to use it from userspace :)
jstefanop has joined #linux-sunxi
vagrantc has joined #linux-sunxi
diego_r has quit [Ping timeout: 240 seconds]
putti_ has joined #linux-sunxi
putti_ has quit [Changing host]
putti_ has joined #linux-sunxi
Putti has quit [Disconnected by services]
putti_ is now known as Putti
reinforce has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
Rorschach has quit [Quit: WeeChat 2.2]
<anarsoul|2>
MoeIcenowy: routing is fine. That's missing support for some formats that hurts :)
lkcl has joined #linux-sunxi
<MoeIcenowy>
anarsoul|2: I think bshah suffered from routing
lerc has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
yann|work has joined #linux-sunxi
florian has joined #linux-sunxi
lkcl has quit [Ping timeout: 268 seconds]
<tuxd3v>
megi: hello,
<tuxd3v>
I am still fighting with dts file for one plus :(