lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201502181321.03774@pali>
Date:	Wed, 18 Feb 2015 13:21:03 +0100
From:	Pali Rohár <pali.rohar@...il.com>
To:	Nishanth Menon <nm@...com>, Felipe Balbi <balbi@...com>,
	Tony Lindgren <tony@...mide.com>,
	Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>,
	Aaro Koskinen <aaro.koskinen@....fi>,
	Sebastian Reichel <sre@...nel.org>, Pavel Machek <pavel@....cz>
Cc:	linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
	linux-crypto@...r.kernel.org
Subject: Nokia N900: omap aes is broken

Hello,

I tried to test OMAP AES driver on Nokia N900 with special Nokia 
bootloader which enable L3 firewall for OMAP AES HW support.

I modified arch/arm/boot/dts/omap34xx-hs.dtsi file and commented 
aes line which disable aes support in DT.

Then I booted kernel and loaded omap-aes.ko module. And I got 
this output in dmesg:

[    0.222930] platform 480c5000.aes: Cannot lookup hwmod 'aes'
[   27.758148] omap-aes 480c5000.aes: _od_fail_runtime_resume: 
FIXME: missing hwmod/omap_dev info
[   27.765960] omap-aes 480c5000.aes: omap_aes_probe: failed to 
get_sync(-19)
[   29.257690] omap-aes 480c5000.aes: initialization failed.

So it looks like some initialization data are missing for Nokia 
N900 (omap3430 device).

Can somebody look at it? I have patched 2.6.28 kernel were omap 
aes support on this N900 device (with special bootloader) is 
working.

Maybe some other data are missing in DT or in hwmod?

-- 
Pali Rohár
pali.rohar@...il.com

Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ