Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos library

From: David Howells
Date: Thu Nov 26 2020 - 03:20:58 EST


Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> > Here's my first cut at a generic Kerberos crypto library in the kernel so
> > that I can share code between rxrpc and sunrpc (and cifs?).
>
> I can't find the bit where you are actually sharing this code with
> sunrpc, am I missing something?

I haven't done that yet. Sorry, I should've been more explicit with what I
was after. I was wanting to find out if the nfs/nfsd people are okay with
this (and if there are any gotchas I should know about - it turns out, if I
understand it correctly, the relevant code may being being rewritten a bit
anyway).

And from you, I was wanting to find out if you're okay with an interface of
this kind in crypto/ where the code is just used directly - or whether I'll
be required to wrap it up in the autoloading, module-handling mechanisms.

David