Thread: [Ocf-linux-users] RSA function using hardware PKEU
Brought to you by:
david-m
From: kaoru <ga...@yy...> - 2011-03-30 09:11:27
|
Hello everyone, I'm a newbie with OCF. My board used freescale MPC8315E processor. Followed README, i patched kernel and openssl-0.9.8i. The question is: use "openssl speed -evp des -engine cryptodev -elapsed" testing, the talitos interrupt number increased, but use "openssl speed -engine cryptodev rsa -elapsed" testing, the tailitos interrupt number not increased. I found talitos/talitos.c issue "add support for public key ops (PKEU)". Whether it means that rsa function using the hardware PKEU not implement? Thanks for reply. -- Regards HomePage: http://www.yytek.com/ |
From: David M. <dav...@mc...> - 2011-03-30 10:59:03
|
Jivin kaoru lays it down ... > Hello everyone, I'm a newbie with OCF. > > My board used freescale MPC8315E processor. Followed README, i patched > kernel and openssl-0.9.8i. > > The question is: > use "openssl speed -evp des -engine cryptodev -elapsed" testing, the > talitos interrupt number increased, > but use "openssl speed -engine cryptodev rsa -elapsed" testing, the > tailitos interrupt number not increased. > > I found talitos/talitos.c issue "add support for public key ops (PKEU)". > Whether it means that rsa function using the hardware PKEU not implement? The talitos driver in OCF does not do any PK accelerations. I don't know if the HW is capable of it, but the code certainly isn't at the moment :-) To check just look for a crypto_kregister in the driver. Currently only the ixp and safenet drivers do this, Cheers, Davidm -- David McCullough, dav...@mc..., Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org |
From: Kim P. <kim...@fr...> - 2011-03-30 17:58:45
|
On Wed, 30 Mar 2011 20:55:08 +1000 David McCullough <dav...@mc...> wrote: > Jivin kaoru lays it down ... > > I found talitos/talitos.c issue "add support for public key ops (PKEU)". > > Whether it means that rsa function using the hardware PKEU not implement? > > The talitos driver in OCF does not do any PK accelerations. > I don't know if the HW is capable of it, but the code certainly isn't at > the moment :-) the SEC h/w on the 8315 is capable, but you're right - the driver doesn't implement public key ops. Kim |
From: kaoru <ga...@yy...> - 2011-03-31 01:22:29
|
What's ixp safenet? It supports freescale sec2 hw public key ops? Could you give me a link to homepage? Thanks. On 2011-03-30 18:55, David McCullough Wrote: > > Jivin kaoru lays it down ... >> Hello everyone, I'm a newbie with OCF. >> >> My board used freescale MPC8315E processor. Followed README, i patched >> kernel and openssl-0.9.8i. >> >> The question is: >> use "openssl speed -evp des -engine cryptodev -elapsed" testing, the >> talitos interrupt number increased, >> but use "openssl speed -engine cryptodev rsa -elapsed" testing, the >> tailitos interrupt number not increased. >> >> I found talitos/talitos.c issue "add support for public key ops (PKEU)". >> Whether it means that rsa function using the hardware PKEU not implement? > > The talitos driver in OCF does not do any PK accelerations. > I don't know if the HW is capable of it, but the code certainly isn't at > the moment :-) > > To check just look for a crypto_kregister in the driver. Currently only the > ixp and safenet drivers do this, > > Cheers, > Davidm > > -- Regards 北京云涌科技发展有限责任公司 高渊 Mobile: 13426333791 Tel: 010-82890375-807 Addr: 北京市海淀区安宁庄西路9号院29号楼金泰富地大厦1605 HomePage: http://www.yytek.com |
From: David M. <dav...@mc...> - 2011-03-31 01:30:34
|
Jivin kaoru lays it down ... > What's ixp safenet? It supports freescale sec2 hw public key ops? > Could you give me a link to homepage? No, the ixp driver and the safenet driver are the only drivers that support PK ops. They are for different hardware. There are currently no drivers that support the freescale sec2 PK HW, Cheers, Davidm > On 2011-03-30 18:55, David McCullough Wrote: > > > > Jivin kaoru lays it down ... > >> Hello everyone, I'm a newbie with OCF. > >> > >> My board used freescale MPC8315E processor. Followed README, i patched > >> kernel and openssl-0.9.8i. > >> > >> The question is: > >> use "openssl speed -evp des -engine cryptodev -elapsed" testing, the > >> talitos interrupt number increased, > >> but use "openssl speed -engine cryptodev rsa -elapsed" testing, the > >> tailitos interrupt number not increased. > >> > >> I found talitos/talitos.c issue "add support for public key ops (PKEU)". > >> Whether it means that rsa function using the hardware PKEU not implement? > > > > The talitos driver in OCF does not do any PK accelerations. > > I don't know if the HW is capable of it, but the code certainly isn't at > > the moment :-) > > > > To check just look for a crypto_kregister in the driver. Currently only the > > ixp and safenet drivers do this, > > > > Cheers, > > Davidm > > > > > > -- > Regards > > ?????????????? > ?? > Mobile: 13426333791 > Tel: 010-82890375-807 > Addr: ???????????9??29????????1605 > HomePage: http://www.yytek.com > > -- David McCullough, dav...@mc..., Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org |