diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-13 14:24:15 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-20 18:20:04 +0800 |
commit | ae131f4970f0778f35ed06aeb15bde2fbc1d9619 (patch) | |
tree | 32129d0609ff52d6742628db8f284e33274c95a7 /drivers/usb/typec/mux/intel_pmc_mux.c | |
parent | 94330fbe082acfd7ac9f2a348933944ba78b14dc (diff) | |
download | linux-stable-ae131f4970f0778f35ed06aeb15bde2fbc1d9619.tar.gz linux-stable-ae131f4970f0778f35ed06aeb15bde2fbc1d9619.tar.bz2 linux-stable-ae131f4970f0778f35ed06aeb15bde2fbc1d9619.zip |
crypto: api - Add crypto_tfm_get
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@gondor.apana.org.au>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/usb/typec/mux/intel_pmc_mux.c')
0 files changed, 0 insertions, 0 deletions