Re: N900 AES and SHA1/MD5 hw acceleration drivers

2010-11-09 Thread Tobias Karnat
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: extras-assistant: autobuilder fails, no reason given?

2010-11-09 Thread Niels Breet
On Sat, Nov 6, 2010 at 10:02 PM, Thomas Waelti twae...@gmail.com wrote:
 Hello all

 Autobuilder fails on my uploads, but I can't find the reason in the logs 
 available.
 Any ideas on how to proceed? Did I overlook something?

Most of the time this is due to issues in your debian/control file.
Looking at yours, my guess is that it is your description field. That
looks like a bit of a mess.

 You can find more info about this build here: 
 https://garage.maemo.org/builder/fremantle/recaller_2.1.0-1/

 Thanks
 -Tom

-- 
Niels Breet
maemo.org webmaster
___
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

2010-11-09 Thread Tobias Karnat
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

2010-11-09 Thread Tobias Karnat

---BeginMessage---
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 dmitry.kasat...@gmail.com
 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: extras-assistant: autobuilder fails, no reason given?

2010-11-09 Thread Thomas Waelti
Thanks to both of you - your tips helped me to resolve the problem.
I indeed had an issue in the debian/control file (line breaks, string 
delimiters, quite similar to the bug of Patrick)

So whoever has such an issue in the future, just login to your scratchbox and 
enter the commands manually as seen in the logfile.
(Starting with the comamnds visible after the Copying source files to work 
dir / Extracting sources to work dir log entries)

Happy hacking
-Tom

 On Sat, Nov 6, 2010 at 10:02 PM, Thomas Waelti twae...@gmail.com wrote:
 Hello all

 Autobuilder fails on my uploads, but I can't find the reason in the logs 
 available.
 Any ideas on how to proceed? Did I overlook something?

 Most of the time this is due to issues in your debian/control file.
 Looking at yours, my guess is that it is your description field. That
 looks like a bit of a mess.

 You can find more info about this build here: 
 https://garage.maemo.org/builder/fremantle/recaller_2.1.0-1/

 Thanks
 -Tom
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers