All of lore.kernel.org
 help / color / mirror / Atom feed
* IPsec books and how to add async hardware encryption ?
@ 2008-10-31 15:08 Dean Jenkins
  2008-10-31 20:32 ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Dean Jenkins @ 2008-10-31 15:08 UTC (permalink / raw)
  To: linux-crypto

Hi,

I am having difficulty finding a book that describes IPsec that includes IKEv2 
and is preferably aimed at using Linux crypto. Can anyone recommend such a 
book ?

Also, how do I find info on the cypto APIs eg. how to use cryptd (2.6.24 
kernel) ?

I'm working on a project that uses an embedded hardware encryption engine that 
needs to use async off-load. Is cryptd the entity for async hardware crypto 
off-loading ?
 
Thanks,

Dean
MontaVista Software

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IPsec books and how to add async hardware encryption ?
  2008-10-31 15:08 IPsec books and how to add async hardware encryption ? Dean Jenkins
@ 2008-10-31 20:32 ` Evgeniy Polyakov
  2008-11-03 10:50   ` Dean Jenkins
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Polyakov @ 2008-10-31 20:32 UTC (permalink / raw)
  To: Dean Jenkins; +Cc: linux-crypto

Hi.

On Fri, Oct 31, 2008 at 03:08:48PM +0000, Dean Jenkins (djenkins@mvista.com) wrote:
> I am having difficulty finding a book that describes IPsec that includes IKEv2 
> and is preferably aimed at using Linux crypto. Can anyone recommend such a 
> book ?

There is no such book I believe.

> Also, how do I find info on the cypto APIs eg. how to use cryptd (2.6.24 
> kernel) ?
> 
> I'm working on a project that uses an embedded hardware encryption engine that 
> needs to use async off-load. Is cryptd the entity for async hardware crypto 
> off-loading ?

cryptd is an software engine example of how hardware driver could be implemented.

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IPsec books and how to add async hardware encryption ?
  2008-10-31 20:32 ` Evgeniy Polyakov
@ 2008-11-03 10:50   ` Dean Jenkins
  2008-11-03 11:13     ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Dean Jenkins @ 2008-11-03 10:50 UTC (permalink / raw)
  To: Evgeniy Polyakov; +Cc: linux-crypto

Hi Evgeniy,

> > Also, how do I find info on the cypto APIs eg. how to use cryptd (2.6.24
> > kernel) ?
> >
> > I'm working on a project that uses an embedded hardware encryption engine
> > that needs to use async off-load. Is cryptd the entity for async hardware
> > crypto off-loading ?
>
> cryptd is an software engine example of how hardware driver could be
> implemented.

Are you saying that to implement an async hardware driver I could use the APIs 
used by cryptd and create my own hwcryptd ?

If yes, is there any documentation for the APIs used by cryptd ?

Thanks,

Regards,
Dean Jenkins
MontaVista Software 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: IPsec books and how to add async hardware encryption ?
  2008-11-03 10:50   ` Dean Jenkins
@ 2008-11-03 11:13     ` Evgeniy Polyakov
  0 siblings, 0 replies; 4+ messages in thread
From: Evgeniy Polyakov @ 2008-11-03 11:13 UTC (permalink / raw)
  To: Dean Jenkins; +Cc: linux-crypto

Hi Dean.

On Mon, Nov 03, 2008 at 10:50:59AM +0000, Dean Jenkins (djenkins@mvista.com) wrote:
> > cryptd is an software engine example of how hardware driver could be
> > implemented.
> 
> Are you saying that to implement an async hardware driver I could use the APIs 
> used by cryptd and create my own hwcryptd ?

Yes for the APIs used in cryptd, but usually hardware driver does not
need to have any threads attached, since completion of the event is
handled in the interrupt handler.

> If yes, is there any documentation for the APIs used by cryptd ?

No, there is no documentation except source code.
In some files you can even find this comments:

         * HEAVY TODO: needs to kick Herbert XU to write documentation.

Herbert is a crypto maintainer who created async crypto interfaces you
found in cryptd. You can also check hardware crypto drivers in
drivers/crypto/ directory.

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-03 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 15:08 IPsec books and how to add async hardware encryption ? Dean Jenkins
2008-10-31 20:32 ` Evgeniy Polyakov
2008-11-03 10:50   ` Dean Jenkins
2008-11-03 11:13     ` Evgeniy Polyakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.