diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-08-19 17:17:33 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-09-03 16:44:57 -0400 |
commit | be1eb7f78aa8fbe34779c56c266ccd0364604e71 (patch) | |
tree | 7930cd51bfb57e9c6b0547677a7eb7e3dc7a82e3 /crypto/Makefile | |
parent | c1499a044d7c2bbd9ea3d9c17e17f16595ae6d69 (diff) | |
download | linux-rpi-be1eb7f78aa8fbe34779c56c266ccd0364604e71.tar.gz linux-rpi-be1eb7f78aa8fbe34779c56c266ccd0364604e71.tar.bz2 linux-rpi-be1eb7f78aa8fbe34779c56c266ccd0364604e71.zip |
crypto: essiv - create wrapper template for ESSIV generation
Implement a template that wraps a (skcipher,shash) or (aead,shash) tuple
so that we can consolidate the ESSIV handling in fscrypt and dm-crypt and
move it into the crypto API. This will result in better test coverage, and
will allow future changes to make the bare cipher interface internal to the
crypto subsystem, in order to increase robustness of the API against misuse.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 9479e1a45d8c..157cb0a324df 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -147,6 +147,7 @@ obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o obj-$(CONFIG_CRYPTO_ZSTD) += zstd.o obj-$(CONFIG_CRYPTO_OFB) += ofb.o obj-$(CONFIG_CRYPTO_ECC) += ecc.o +obj-$(CONFIG_CRYPTO_ESSIV) += essiv.o ecdh_generic-y += ecdh.o ecdh_generic-y += ecdh_helper.o |