Messages in this thread | | | Date | Tue, 1 Dec 2020 21:36:59 +1100 | From | Herbert Xu <> | Subject | Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos library |
| |
On Tue, Dec 01, 2020 at 09:12:38AM +0000, David Howells wrote: > > That depends on whether the caller has passed it elsewhere for some other > parallel purpose, but I think I'm going to have to go down that road and > restore it afterwards.
Sure but even if you added it to the API the underlying implementataions would just have to do the same thing.
Since this is particular to your use-case it's better to leave the complexity where it's needed rather than propagting it to all the crypto drivers.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |