lkml.org 
[lkml]   [2006]   [Jan]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 27 Jan 2006 23:28:56 +1100
SubjectRe: [PATCH 00/04] Add DSA key type
FromHerbert Xu <>
On Fri, Jan 27, 2006 at 08:23:45AM +0100, David H?rdeman wrote:
> On Fri, Jan 27, 2006 at 12:22:31PM +1100, Herbert Xu wrote:
> >David H?rdeman <david@2gen.com> wrote:
> >>
> >>3) Changes the keyctl syscall to accept six arguments (is it valid to do 
> >>so?)
> >>  and adds encryption as one of the supported ops for in-kernel keys.
> >
> >The asymmetric encryption support should be done inside the crypto/
> >framework rather than as an extension to the key management system.
> 
> It is done inside the crypto/ framework. crypto/dsa.c implements the DSA 
> signing as a hash crypto algorithm (since a DSA signature is two 160-bit 
> integers, the result has a fixed size).

Right.  I mistook the name encrypt to mean generic asymmetric encryption.
Now I see that it is simply an interface to the signature algorithm.
This is fine by me.  However, wouldn't "sign" be a better name for it?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-01-27 12:31    [from the cache]
©2003-2008