[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201019031457.GA551@gondor.apana.org.au>
Date: Mon, 19 Oct 2020 14:14:57 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Howells <dhowells@...hat.com>
Cc: davem@...emloft.net, trond.myklebust@...merspace.com,
linux-crypto@...r.kernel.org, linux-nfs@...r.kernel.org,
linux-afs@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: gssapi, crypto and afs/rxrpc
On Fri, Oct 16, 2020 at 05:18:26PM +0100, David Howells wrote:
>
> If I do this, should I create a "kerberos" crypto API for the data wrapping
> functions? I'm not sure that it quite matches the existing APIs because the
> size of the input data will likely not match the size of the output data and
> it's "one shot" as it needs to deal with a checksum.
Generally it makes sense to create a Crypto API for an algorithm
if there are going to be at least two implementations of it. In
particular, if there is hardware acceleration available then it'd
make sense.
Otherwise a library helper would be more appropriate.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists