Re: [Ocf-linux-users] Clarification regarding kernel talitos & OCF talitios driver
Brought to you by:
david-m
From: David M. <dav...@mc...> - 2011-02-03 11:54:25
|
Jivin Shivdas Gujare lays it down ... > On Thu, Feb 3, 2011 at 3:23 PM, David McCullough > <dav...@mc...> wrote: > > > > Jivin Shivdas Gujare lays it down ... > >> Hi David, > >> > >> thanks for your prompt reply. > >> > >> So, do you have ??any idea how drivers/crypto/talitos.c driver is > >> accessible via userspace, > >> much like how OCF taltios driver is accessible to openssl via /dev/crypto. > >> > >> I am not able to find as of the interface from userspace to the kernel > >> driver drivers/crypto/talitos.c. > > > > You can still use OCF with its cryptosoft driver to access the in-kernel > > talitos driver from user space. ??OCF's cryptosoft driver utilises the > > in-kernel crypto drivers to do the work, > > Thanks David, > > do you know any other way to access kernel hardware acceleration > drivers from userspace > other than using OCF framework? There are a few OCF like (and cryptodev compatible) variants. I don't know of enything specific for linux that is usable and potentially better, Cheers, Davidm > >> Thanks and Regards, > >> Shihvdas Gujare > >> > >> On Thu, Feb 3, 2011 at 2:04 PM, David McCullough > >> <dav...@mc...> wrote: > >> > > >> > Jivin Shivdas Gujare lays it down ... > >> >> Hi All, > >> >> > >> >> I have seen two implementation for the crypto acceleration driver > >> >> talitos.c on in > >> >> kernel/drivers/crypto/talitios.c and another in crypto/ocf/talitos/talitos.c > >> >> > >> >> I understand that crypto/ocf/talitos/talitos.c is a driver based on > >> >> OCF-linux framework, > >> >> but not sure how is it related to kernel driver kernel/drivers/crypto/talitios.c > >> >> > >> >> or in simple words why there are two similar drivers are available in > >> >> the kernel? > >> > > >> > Only one is available in the kernel, kernel/drivers/crypto/talitios.c. > >> > > >> > The other one is part of OCF, ??and OCF is not part of the linux kernel :-) > >> > > >> > The OCF version of the talitos driver was written before linux had adequate > >> > HW crypto support, ??but now it does and a rtalitos driver has been written > >> > for and accepted into the kernel. > >> > > >> > Hope that helps :-) > >> > > >> > Cheers, > >> > Davidm > >> > > >> > -- > >> > David McCullough, ?? ?? ??dav...@mc..., ??Ph:+61 734352815 > >> > McAfee - SnapGear ?? ?? ??http://www.mcafee.com ?? ?? ?? ?? http://www.uCdot.org > >> > > >> > >> > > > > -- > > David McCullough, ?? ?? ??dav...@mc..., ??Ph:+61 734352815 > > McAfee - SnapGear ?? ?? ??http://www.mcafee.com ?? ?? ?? ?? http://www.uCdot.org > > > > -- David McCullough, dav...@mc..., Ph:+61 734352815 McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org |