diff options
| author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2017-04-21 16:54:29 -0400 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-24 06:11:07 -0400 |
| commit | 3de4f5e1a5dbe1a36d1e8a08ee1978f44c4b739b (patch) | |
| tree | 64bf19c51a06c41fd6f0802f51a91f8c838bc6ff /include/crypto | |
| parent | 6263b51eb3190d30351360fd168959af7e3a49a9 (diff) | |
crypto: scomp - allow registration of multiple scomps
Add crypto_register_scomps and crypto_unregister_scomps to allow
the registration of multiple implementations with one call.
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
| -rw-r--r-- | include/crypto/internal/scompress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/internal/scompress.h b/include/crypto/internal/scompress.h index 3fda3c5655a0..ccad9b2c9bd6 100644 --- a/include/crypto/internal/scompress.h +++ b/include/crypto/internal/scompress.h | |||
| @@ -133,4 +133,7 @@ int crypto_register_scomp(struct scomp_alg *alg); | |||
| 133 | */ | 133 | */ |
| 134 | int crypto_unregister_scomp(struct scomp_alg *alg); | 134 | int crypto_unregister_scomp(struct scomp_alg *alg); |
| 135 | 135 | ||
| 136 | int crypto_register_scomps(struct scomp_alg *algs, int count); | ||
| 137 | void crypto_unregister_scomps(struct scomp_alg *algs, int count); | ||
| 138 | |||
| 136 | #endif | 139 | #endif |
