On Thu, Apr 13, 2023 at 02:24:15PM +0800, Herbert Xu wrote: > Add a crypto_tfm_get interface to allow tfm objects to be shared. > They can still be freed in the usual way. > > This should only be done with tfm objects with no keys. You must > also not modify the tfm flags in any way once it becomes shared. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>