Re: N900 AES and SHA1/MD5 hw acceleration drivers
--- Begin Message --- Hi, 1 more... If you will notice decryption problem then enable this block... #if 0 /* it will not affect DMA error but might solve crypto issue */ dd->ctx->flags |= FLAGS_NEW_KEY; dd->ctx->flags |= FLAGS_NEW_IV; #endif - Dmitry On Tue, Oct 26, 2010 at 11:50 AM, Dmitry Kasatkin wrote: > Hi, > > I have experimented with different settings. > But problems still appear. > > it is something related to 'off' mode, when device goes to deep sleep. > Some configuration might be lost. > I tried to clocks on while calculating but the problem still exists. > > It might be also an OMAP silicon bug... > > I do not have really possibility anymore to spend a time on that. > AES support was never promised and tested on the device. > > - Dmitry > > > On Fri, Oct 22, 2010 at 9:24 PM, Tobias Karnat < > tobias.kar...@googlemail.com> wrote: > >> >> Hi, >> >> Any news about the problems? >> >> Tobias >> >> > --- End Message --- ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N900 AES and SHA1/MD5 hw acceleration drivers
Hi, Good news!! The omap-aes driver has been fixed, it does now work without crashing. The diff can be found here: http://pastebin.com/PMt2j1Hs omap-hw modules (incl. src.) compiled against PR1.3 can be found here: http://www.mediafire.com/?0krkujb0vevvkva But you will still need to update Nolo, load the required modules (dm-mod, dm-crypt, hash-algorithm) and use cryptsetup to work with it. The src of the modules including Nolo can still be found here: http://www.mediafire.com/?cc1vbsnwnho31vb But you will need to compile the src again. Since the modules were compiled against PR1.2. Tobias Am Freitag, den 03.09.2010, 13:44 +0200 schrieb Tobias Karnat: > Hi, > > Some might already know that Nokia has recently released a driver for > AES and SHA1+MD5 hardware acceleration on the linux-crypto mailing list, > however these drivers where based against 2.6.35 and needed the kernel > to be rebuild in order to use them, because the platform device driver > was to be build in the kernel. > > I have modified the driver in order to compile with the stock Nokia > kernel on the N900 and without requiring the kernel to be changed, they > do load... > > However the omap-aes driver has problems if used in 256-Bit Cbc-Essiv > mode and if used in 128-Bit mode it causes the N900 to not wake up from > powersaving. The omap-sha1-md5 driver seems to be so far fine, but the > digest size in /proc/crypto looks somehow suspicious. > > It would be very helpful, if someone could bug test the drivers as well, > since I don't have much experience with kernel modules. You will need to > update NOLO, since the M-Shield the N900 has, needs to be configured > differently, please make sure your N900 has hardware revision 2101 at > least. > > I attached the NOLO update and the hw crypto modules, the source and the > patches are also included. Cryptsetup can be found in extra-devel, the > required dm-crypt and hash modules are also attached. > > Tobias > > Edit: > Since the files are to big for the mailing list, you can find them here: > http://www.mediafire.com/?cc1vbsnwnho31vb ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N900 AES and SHA1/MD5 hw acceleration drivers
Am Montag, den 08.11.2010, 17:00 +0200 schrieb Dmitry Kasatkin: > Hi, > > 1 more... > > If you will notice decryption problem then enable this block... > > #if 0 > /* it will not affect DMA error but might solve crypto issue */ > dd->ctx->flags |= FLAGS_NEW_KEY; > dd->ctx->flags |= FLAGS_NEW_IV; > #endif > > - Dmitry ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: N900 AES and SHA1/MD5 hw acceleration drivers
Am Freitag, den 03.09.2010, 13:44 +0200 schrieb Tobias Karnat: > Edit: > Since the files are to big for the mailing list, you can find them here: > http://www.mediafire.com/?cc1vbsnwnho31vb If this doesn't work, use the following link as an alternative: http://rapidshare.com/files/416924813/n900-crypto.tar.gz Tobias ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
N900 AES and SHA1/MD5 hw acceleration drivers
Hi, Some might already know that Nokia has recently released a driver for AES and SHA1+MD5 hardware acceleration on the linux-crypto mailing list, however these drivers where based against 2.6.35 and needed the kernel to be rebuild in order to use them, because the platform device driver was to be build in the kernel. I have modified the driver in order to compile with the stock Nokia kernel on the N900 and without requiring the kernel to be changed, they do load... However the omap-aes driver has problems if used in 256-Bit Cbc-Essiv mode and if used in 128-Bit mode it causes the N900 to not wake up from powersaving. The omap-sha1-md5 driver seems to be so far fine, but the digest size in /proc/crypto looks somehow suspicious. It would be very helpful, if someone could bug test the drivers as well, since I don't have much experience with kernel modules. You will need to update NOLO, since the M-Shield the N900 has, needs to be configured differently, please make sure your N900 has hardware revision 2101 at least. I attached the NOLO update and the hw crypto modules, the source and the patches are also included. Cryptsetup can be found in extra-devel, the required dm-crypt and hash modules are also attached. Tobias Edit: Since the files are to big for the mailing list, you can find them here: http://www.mediafire.com/?cc1vbsnwnho31vb ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers