ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
machinehum has quit []
ftg has quit [Read error: Connection reset by peer]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
Newbyte has joined #linux-sunxi
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
Tooniis[m] has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
insep has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Jookia has quit [Remote host closed the connection]
GrantM11235[m] has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
chuang[m] has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
aerospace[m] has joined #linux-sunxi
Jookia has joined #linux-sunxi
movedon5b2z4xywybidzannet[m] has joined #linux-sunxi
gsz has joined #linux-sunxi
<montjoie> I am here:) you want cryptoengine in uboot ?
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
<smaeul> yes, in SPL, as it should reduce the code size compared to a software implementation. as a benchmark, here's nezha_defconfig:
<smaeul> text data bss dec hex filename
<smaeul> 58582 11752 176 70510 1136e spl/u-boot-spl
<smaeul> and with CONFIG_SPL_FIT_SIGNATURE=y:
<smaeul> 87310 12104 176 99590 18506 spl/u-boot-spl
<smaeul> we can't really afford 29K on crypto code on chips with a 32K size limit for the whole thing :)
<gamiee> smaeul: which crypto stuff needs to be added? RSA?
<smaeul> RSA + SHA256
<smaeul> or really, whatever algorithms we want to use, but some hash algo and some public key algo
<gamiee> Hmm, if there is already good implementation in Linux, I might give this a shot.
<montjoie> support for RSA in H3 cryptoengine was done privatly but in a horrible way
<montjoie> I can publish patch if someone want to polish it
<gamiee> Anything will be useful. But to note, I am not sure when I will be able to take look on this.
<montjoie> the hard part of understand how the crypto engine want data (le/BE) was done
<montjoie> and it was hard:(
<smaeul> fwiw SHA256 + RSA with CE + DMA is what SBROM uses, so that code may provide some hints
sajattack[m]1 has joined #linux-sunxi
warpme has joined #linux-sunxi
KNULLNoNeAll[m] has joined #linux-sunxi
<Jookia> good news, i have NAND working in u-boot. now to get DFU working :)
<gamiee> in BSP there is no implementation for crypto?
gsz has quit [Quit: leaving]
apritzel has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
cperon has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest5650
dsimic has joined #linux-sunxi
Guest5650 has quit [Ping timeout: 480 seconds]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1_ has quit [Ping timeout: 480 seconds]
<montjoie> gamiee: there is allwinner's one, but for RSA I was sure their implementation was never tested
<gamiee> lol.... Allwinner moment
<montjoie> In my memory I saw RSA in CBC mode
<montjoie> but how to add RSA on a Linux release without support for it...
JohnDoe_71Rus has quit []
warpme has quit []
Daaanct12 has quit [Quit: WeeChat 4.1.1]
Danct12 has quit [Read error: Connection reset by peer]
evgeny_boger1 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
Danct12 has joined #linux-sunxi
bauen1 has joined #linux-sunxi
obbardc has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit []
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
aperezdc has joined #linux-sunxi
aperezdc is now known as Guest5690
Guest5690 is now known as aperezdc
warpme has joined #linux-sunxi
warpme has quit []
error2[m] has joined #linux-sunxi
<apritzel> smaeul: I sent a PR with the two A523 BROM parts to your sunxi-blobs repo, cheekily to get another pair of eyes on the "switch to secure state" problem ;-)
<apritzel> because that blocks further progress with FEL, since I need to be in secure state to do the RMR and reset to AArch64
<smaeul> I'll look at it if I get a chance, which may not be for a couple of weeks (though anybody else is free to investigate as well)
<apritzel> sure, thanks!
utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
dittid[m] has joined #linux-sunxi