narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
<cottsay> xdarklight: thank you! thank you!
Darkmatter66 has quit [Ping timeout: 248 seconds]
Darkmatter66 has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 268 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 276 seconds]
vagrantc has quit [Quit: leaving]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 248 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
Guest45447 has quit []
narmstrong has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 258 seconds]
Darkmatter66 has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #linux-amlogic
repk has joined #linux-amlogic
<repk> ccaione: I may be wrong, I quickly step through aml_encrypt_g12a with gdb, I don't see no call to any rsa_* function. And dumping the header of output bl31.img.enc the key seems to be all null.
<repk> the header format did change though
<ccaione> @repk maybe you can pass the signature as parameter? Need to look better into that. And yes, the header changed
Consolatis has quit [Remote host closed the connection]
<repk> ccaione: yes there is an option to pass the signature as a parameter but I follow that https://patchwork.ozlabs.org/patch/1083476/ and it seems to not be used. My guess is that it is only used on board that has been fused
<ccaione> well, that would be good indeed
Darkmatter66 has quit [Ping timeout: 245 seconds]
Darkmatter66 has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #linux-amlogic
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<repk> ccaione: here is what I found while quickly disassembling aml_encrypt_g12a. The BL3* images are formed with a first Header an empty key a second header holding a sha256 hash of the bl3* binary then the sha256 of this second header then the bl3* binary data itself.
<repk> I need to guess the meaning of some of this header fields but it should be not that difficult to do. Also bl33 is LZ4 compressed
Darkmatter66 has quit [Ping timeout: 245 seconds]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
<ccaione> @repk yes, basically IV + 128 bytes header + 512 signature. BL30 seems different though? Is it signed twice?
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Client Quit]
marcodiego has joined #linux-amlogic
Lyude has quit [Quit: WeeChat 2.4]
Lyude has joined #linux-amlogic
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Read error: Connection reset by peer]
nsaenz has joined #linux-amlogic
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-amlogic
nsaenz has quit [Remote host closed the connection]