All of lore.kernel.org
 help / color / mirror / Atom feed
* Questions For Linux Crypto API
@ 2009-10-14  7:51 Leo Yan
  2009-10-14 11:44 ` David McCullough
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Yan @ 2009-10-14  7:51 UTC (permalink / raw)
  To: linux-crypto@vger.kernel.org


Hi, all

I am a newbie for Linux crypto.
Recently I am warming up on Linux Crypto APIs and have some questions.
Would you kindly give me some hints about it J ?

1. Does Linux Crypto API now support user space or not? 
I have googled the mailing list, and find some guys have committed some patches for it.
But so far, in the Linux mainline (2.6.31) do not merge it. 
So Linux Crypto API will support user space or not?

2. OCF has been ported to Linux, so will OCF integrate with Linux Crypto API or not?
If Linux Crypto API will support the user space and provide the user space APIs, then OpenBSD Cryptographics Framework
will directly use the Linux Crypto APIs or not? Otherwise 

Thanks a lot.

Best Regards,

Leo Yan

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

* Re: Questions For Linux Crypto API
  2009-10-14  7:51 Questions For Linux Crypto API Leo Yan
@ 2009-10-14 11:44 ` David McCullough
  2009-10-15  1:46   ` Leo Yan
  0 siblings, 1 reply; 5+ messages in thread
From: David McCullough @ 2009-10-14 11:44 UTC (permalink / raw)
  To: Leo Yan; +Cc: linux-crypto@vger.kernel.org


Jivin Leo Yan lays it down ...
> 
> Hi, all
> 
> I am a newbie for Linux crypto.
> Recently I am warming up on Linux Crypto APIs and have some questions.
> Would you kindly give me some hints about it J ?
> 
> 1. Does Linux Crypto API now support user space or not? 
> I have googled the mailing list, and find some guys have committed some patches for it.
> But so far, in the Linux mainline (2.6.31) do not merge it. 
> So Linux Crypto API will support user space or not?

Someone else will know more about this.  People are working on it I think
but it's not there yet.

> 2. OCF has been ported to Linux, so will OCF integrate with Linux Crypto API or not?

OCF has a driver called cryptosoft that uses the linux crypto API.

> If Linux Crypto API will support the user space and provide the user space APIs, then OpenBSD Cryptographics Framework
> will directly use the Linux Crypto APIs or not? Otherwise 

Once linux has it's own user space API you will not need OCF to provide one,
but you will need to add/wait for support for applications like openssl etc
to use the linux API.

Cheers,
Davidm

-- 
David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org

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

* RE: Questions For Linux Crypto API
  2009-10-14 11:44 ` David McCullough
@ 2009-10-15  1:46   ` Leo Yan
  2009-10-15  3:02     ` David McCullough
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Yan @ 2009-10-15  1:46 UTC (permalink / raw)
  To: David McCullough; +Cc: linux-crypto@vger.kernel.org, Leo Yan

 
hi, David

Very appreciate for your answer. :-)

Please see my inline comments.
 
Best Regards,
Leo Yan


-----Original Message-----
From: David McCullough [mailto:David_Mccullough@securecomputing.com] 
Sent: 2009年10月14日 19:44
To: Leo Yan
Cc: linux-crypto@vger.kernel.org
Subject: Re: Questions For Linux Crypto API


Jivin Leo Yan lays it down ...
> 
> Hi, all
> 
> I am a newbie for Linux crypto.
> Recently I am warming up on Linux Crypto APIs and have some questions.
> Would you kindly give me some hints about it J ?
> 
> 1. Does Linux Crypto API now support user space or not? 
> I have googled the mailing list, and find some guys have committed some patches for it.
> But so far, in the Linux mainline (2.6.31) do not merge it. 
> So Linux Crypto API will support user space or not?

Someone else will know more about this.  People are working on it I think but it's not there yet.

> 2. OCF has been ported to Linux, so will OCF integrate with Linux Crypto API or not?

OCF has a driver called cryptosoft that uses the linux crypto API.

[leo]: thanks a lot. I got it.

> If Linux Crypto API will support the user space and provide the user 
> space APIs, then OpenBSD Cryptographics Framework will directly use 
> the Linux Crypto APIs or not? Otherwise

Once linux has it's own user space API you will not need OCF to provide one, but you will need to add/wait for support for applications like openssl etc to use the linux API.

[leo]: 
This user space API you referred is the standard API on Linux, or the POSIX APIs? I googled and can NOT find it.
Can you give me further more guide for it?

So i think the framework looks like below, is it right?
|-------------------------------------------------|
| Linux User space Crypto API             |                                                                              User Space
|-------------------------------------------------|
                               ^
------------------------|---------------------------------------------------------------------------------------
                               v
|-------------------------------------------------|------------------------------------------- |                   Kernel Space
| Dedicated Device Driver for it            |Linux Crypto API                           | => this is the API maintained by Herbert in kernel space
|-------------------------------------------------|--------------------------------------------|


Cheers,
Davidm

--
David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org

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

* Re: Questions For Linux Crypto API
  2009-10-15  1:46   ` Leo Yan
@ 2009-10-15  3:02     ` David McCullough
  2009-10-15  5:12       ` Leo Yan
  0 siblings, 1 reply; 5+ messages in thread
From: David McCullough @ 2009-10-15  3:02 UTC (permalink / raw)
  To: Leo Yan; +Cc: linux-crypto@vger.kernel.org


Jivin Leo Yan lays it down ...
>  
> hi, David
> 
> Very appreciate for your answer. :-)
> 
> Please see my inline comments.
>  
> Best Regards,
> Leo Yan
> 
> 
> -----Original Message-----
> From: David McCullough [mailto:David_Mccullough@securecomputing.com] 
> Sent: 2009?10?14? 19:44
> To: Leo Yan
> Cc: linux-crypto@vger.kernel.org
> Subject: Re: Questions For Linux Crypto API
> 
> 
> Jivin Leo Yan lays it down ...
> > 
> > Hi, all
> > 
> > I am a newbie for Linux crypto.
> > Recently I am warming up on Linux Crypto APIs and have some questions.
> > Would you kindly give me some hints about it J ?
> > 
> > 1. Does Linux Crypto API now support user space or not? 
> > I have googled the mailing list, and find some guys have committed some patches for it.
> > But so far, in the Linux mainline (2.6.31) do not merge it. 
> > So Linux Crypto API will support user space or not?
> 
> Someone else will know more about this.  People are working on it I think but it's not there yet.
> 
> > 2. OCF has been ported to Linux, so will OCF integrate with Linux Crypto API or not?
> 
> OCF has a driver called cryptosoft that uses the linux crypto API.
> 
> [leo]: thanks a lot. I got it.
> 
> > If Linux Crypto API will support the user space and provide the user 
> > space APIs, then OpenBSD Cryptographics Framework will directly use 
> > the Linux Crypto APIs or not? Otherwise
> 
> Once linux has it's own user space API you will not need OCF to provide one, but you will need to add/wait for support for applications like openssl etc to use the linux API.
> 
> [leo]: 
> This user space API you referred is the standard API on Linux, or the POSIX APIs? I googled and can NOT find it.
> Can you give me further more guide for it?

A linux native interface for userspace to kernel crypto doesn't "completely"
exist yet,  So there is nothing to find (other than patches to this list
IIRC).

It has nothing to do with posix or or standard API's at this point.

OCF will give you such an interface,  some people are working on another one
just for linux,

Cheers,
Davidm



> So i think the framework looks like below, is it right?
> |-------------------------------------------------|
> | Linux User space Crypto API             |                                                                              User Space
> |-------------------------------------------------|
>                                ^
> ------------------------|---------------------------------------------------------------------------------------
>                                v
> |-------------------------------------------------|------------------------------------------- |                   Kernel Space
> | Dedicated Device Driver for it            |Linux Crypto API                           | => this is the API maintained by Herbert in kernel space
> |-------------------------------------------------|--------------------------------------------|
> 
> 
> Cheers,
> Davidm
> 
> --
> David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
> McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
> 
> 

-- 
David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org

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

* RE: Questions For Linux Crypto API
  2009-10-15  3:02     ` David McCullough
@ 2009-10-15  5:12       ` Leo Yan
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Yan @ 2009-10-15  5:12 UTC (permalink / raw)
  To: David McCullough; +Cc: linux-crypto@vger.kernel.org

hi, David

Thanks a lot. :-)

Best Regards,
Leo Yan


-----Original Message-----
From: David McCullough [mailto:David_Mccullough@securecomputing.com] 
Sent: 2009年10月15日 11:02
To: Leo Yan
Cc: linux-crypto@vger.kernel.org
Subject: Re: Questions For Linux Crypto API


Jivin Leo Yan lays it down ...
>  
> hi, David
> 
> Very appreciate for your answer. :-)
> 
> Please see my inline comments.
>  
> Best Regards,
> Leo Yan
> 
> 
> -----Original Message-----
> From: David McCullough [mailto:David_Mccullough@securecomputing.com]
> Sent: 2009?10?14? 19:44
> To: Leo Yan
> Cc: linux-crypto@vger.kernel.org
> Subject: Re: Questions For Linux Crypto API
> 
> 
> Jivin Leo Yan lays it down ...
> > 
> > Hi, all
> > 
> > I am a newbie for Linux crypto.
> > Recently I am warming up on Linux Crypto APIs and have some questions.
> > Would you kindly give me some hints about it J ?
> > 
> > 1. Does Linux Crypto API now support user space or not? 
> > I have googled the mailing list, and find some guys have committed some patches for it.
> > But so far, in the Linux mainline (2.6.31) do not merge it. 
> > So Linux Crypto API will support user space or not?
> 
> Someone else will know more about this.  People are working on it I think but it's not there yet.
> 
> > 2. OCF has been ported to Linux, so will OCF integrate with Linux Crypto API or not?
> 
> OCF has a driver called cryptosoft that uses the linux crypto API.
> 
> [leo]: thanks a lot. I got it.
> 
> > If Linux Crypto API will support the user space and provide the user 
> > space APIs, then OpenBSD Cryptographics Framework will directly use 
> > the Linux Crypto APIs or not? Otherwise
> 
> Once linux has it's own user space API you will not need OCF to provide one, but you will need to add/wait for support for applications like openssl etc to use the linux API.
> 
> [leo]: 
> This user space API you referred is the standard API on Linux, or the POSIX APIs? I googled and can NOT find it.
> Can you give me further more guide for it?

A linux native interface for userspace to kernel crypto doesn't "completely"
exist yet,  So there is nothing to find (other than patches to this list IIRC).

It has nothing to do with posix or or standard API's at this point.

OCF will give you such an interface,  some people are working on another one just for linux,

Cheers,
Davidm



> So i think the framework looks like below, is it right?
> |-------------------------------------------------|
> | Linux User space Crypto API             |                                                                              User Space
> |-------------------------------------------------|
>                                ^
> ------------------------|---------------------------------------------
> ------------------------|------------------------------------------
>                                v
> |-------------------------------------------------|------------------------------------------- |                   Kernel Space
> | Dedicated Device Driver for it            |Linux Crypto API                           | => this is the API maintained by Herbert in kernel space
> |-------------------------------------------------|--------------------------------------------|
> 
> 
> Cheers,
> Davidm
> 
> --
> David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
> McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
> 
> 

--
David McCullough,  david_mccullough@securecomputing.com,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org

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

end of thread, other threads:[~2009-10-15  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14  7:51 Questions For Linux Crypto API Leo Yan
2009-10-14 11:44 ` David McCullough
2009-10-15  1:46   ` Leo Yan
2009-10-15  3:02     ` David McCullough
2009-10-15  5:12       ` Leo Yan

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.