<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/rbutil/mkimxboot, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>mkimxboot: fix compilation issues with crypto lib</title>
<updated>2017-06-24T10:52:53+00:00</updated>
<author>
<name>Cástor Muñoz</name>
<email>cmvidal@gmail.com</email>
</author>
<published>2017-04-13T19:58:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d6452729e3b8a4f7d111916af8eaad5a5a60b3c9'/>
<id>d6452729e3b8a4f7d111916af8eaad5a5a60b3c9</id>
<content type='text'>
Change-Id: Ic81583dc7e872d332cbd4fd87143579cceeda484
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic81583dc7e872d332cbd4fd87143579cceeda484
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/sbtools: switch SHA1 implementation to Crypto++</title>
<updated>2017-01-16T18:59:28+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-03T15:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=759a78e5dff134f2632875f61aae60815eea6f5b'/>
<id>759a78e5dff134f2632875f61aae60815eea6f5b</id>
<content type='text'>
The current implementation was custom and super slow. Since we use Crypto++
anyway, we might as well get use a good implementation.

Change-Id: I761ad7401653471e54000e1c2bc3d9882378112f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current implementation was custom and super slow. Since we use Crypto++
anyway, we might as well get use a good implementation.

Change-Id: I761ad7401653471e54000e1c2bc3d9882378112f
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/sbtools: switch AES implementation to Crypto++</title>
<updated>2017-01-16T18:59:26+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-03T12:56:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7'/>
<id>8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7</id>
<content type='text'>
Instead of having our own copy of the AES code, use a good library to do that.
Crypto++ is well-maintained, supports a lot of ciphers, works on many OSes, and
is optimized for many architectures.

Change-Id: I7d7d24b47993206d7338c5f9bac8bbdd3915a667
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of having our own copy of the AES code, use a good library to do that.
Crypto++ is well-maintained, supports a lot of ciphers, works on many OSes, and
is optimized for many architectures.

Change-Id: I7d7d24b47993206d7338c5f9bac8bbdd3915a667
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/sbtools: rework cryptography</title>
<updated>2017-01-16T18:58:24+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-01T19:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=2b20026dd755706934f8f8e1a192bffdfc3d717c'/>
<id>2b20026dd755706934f8f8e1a192bffdfc3d717c</id>
<content type='text'>
It was a mess, a mix of crypto_* and cbc_mac calls. I made everything call crypto
functions, and also separate key setup from cryptographic operations, this will
be useful to speed up the code in the upcoming commits. Drop support for "usbotp"
key, since the crypto code for that was never mainlined and we can always get the
keys from a device as long as we have code execution (using the DCP debug registers).

Change-Id: I7aa24d12207ffb744225d1b9cc7cb1dc7281dd22
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a mess, a mix of crypto_* and cbc_mac calls. I made everything call crypto
functions, and also separate key setup from cryptographic operations, this will
be useful to speed up the code in the upcoming commits. Drop support for "usbotp"
key, since the crypto code for that was never mainlined and we can always get the
keys from a device as long as we have code execution (using the DCP debug registers).

Change-Id: I7aa24d12207ffb744225d1b9cc7cb1dc7281dd22
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools: rework key/IV overriding logic</title>
<updated>2017-01-16T18:50:25+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-08-31T12:30:56+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a5950c69af6663895eb158027489e703a2da284f'/>
<id>a5950c69af6663895eb158027489e703a2da284f</id>
<content type='text'>
The overriding of the IV and real key should be the exception, there is no
need to manually set them to false.

Change-Id: Id66754f20a79aa5c1a991839345d1242e0aa587d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The overriding of the IV and real key should be the exception, there is no
need to manually set them to false.

Change-Id: Id66754f20a79aa5c1a991839345d1242e0aa587d
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: add NWZ-E380 firmware 1.00.200</title>
<updated>2017-01-02T20:44:22+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-01T22:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e25983607ce08f75a38a0689bdc4b74c69a1a619'/>
<id>e25983607ce08f75a38a0689bdc4b74c69a1a619</id>
<content type='text'>
Change-Id: I0c949a464a0e5880d1215db571aac402ca81eae9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0c949a464a0e5880d1215db571aac402ca81eae9
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: implement firmware unpatching</title>
<updated>2017-01-02T20:43:51+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-08-31T18:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=23ecdebf97d0decfbfd5938abda1779072c44c66'/>
<id>23ecdebf97d0decfbfd5938abda1779072c44c66</id>
<content type='text'>
Change-Id: Idfd68c06f89cdef8e95865e3ff177a6daa072c1a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Idfd68c06f89cdef8e95865e3ff177a6daa072c1a
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools: completely rework patching logic to prepare unpatching</title>
<updated>2017-01-02T20:43:10+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-01T20:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ff946f1f69c325a948e3e73ac21c3880a0ea94d2'/>
<id>ff946f1f69c325a948e3e73ac21c3880a0ea94d2</id>
<content type='text'>
The old code was working but a mess to maintain. The new code is cleaner
and always simpler handling of all the different options. Extraction of the
OF is no longer a standalone function but just one particular output type.
This commit prepares the ground for firmware "unpatching" (aka OF extraction
from patched OF). The patching code itself did not change so this commit
should still produce the exact same images as before.

Change-Id: I3840793d4b78b8435e38c08f558840925085ead1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old code was working but a mess to maintain. The new code is cleaner
and always simpler handling of all the different options. Extraction of the
OF is no longer a standalone function but just one particular output type.
This commit prepares the ground for firmware "unpatching" (aka OF extraction
from patched OF). The patching code itself did not change so this commit
should still produce the exact same images as before.

Change-Id: I3840793d4b78b8435e38c08f558840925085ead1
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: add the concept of soft MD5 sum</title>
<updated>2017-01-02T20:42:01+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-05-29T19:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=782d9c0d80f1edc29955dbe7e7f42770f730b597'/>
<id>782d9c0d80f1edc29955dbe7e7f42770f730b597</id>
<content type='text'>
Change-Id: I7e83218ce0dccc1f4c4a7a6bb9c1df00dacf260b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7e83218ce0dccc1f4c4a7a6bb9c1df00dacf260b
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: don't forget to pass model if given on command line</title>
<updated>2016-12-19T17:46:40+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-08-31T18:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b772782ce5fccdd4c392b0222e8fe17b98f06da2'/>
<id>b772782ce5fccdd4c392b0222e8fe17b98f06da2</id>
<content type='text'>
Change-Id: I1d20b38ff5b0f337d9a2eef6e2e1d6c170aabce7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I1d20b38ff5b0f337d9a2eef6e2e1d6c170aabce7
</pre>
</div>
</content>
</entry>
</feed>
