diff options
author | Michael Heimpold <mhei@heimpold.de> | 2018-02-19 13:36:09 +0100 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2018-02-20 13:25:00 +0100 |
commit | 240e1e3fe440e35d310ecc17058ca6468d7bebe7 (patch) | |
tree | 59bbc39baae0afdaadeb72313ac451fcf1c59eee /target/linux/mxs/patches-4.9 | |
parent | 42845f455093b14fd3cd5b2acc5ff26ed3469c5e (diff) | |
download | upstream-240e1e3fe440e35d310ecc17058ca6468d7bebe7.tar.gz upstream-240e1e3fe440e35d310ecc17058ca6468d7bebe7.tar.bz2 upstream-240e1e3fe440e35d310ecc17058ca6468d7bebe7.zip |
mxs: drop support for 4.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'target/linux/mxs/patches-4.9')
-rw-r--r-- | target/linux/mxs/patches-4.9/110-crypto-mxsdcp-provide-importexport.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/target/linux/mxs/patches-4.9/110-crypto-mxsdcp-provide-importexport.patch b/target/linux/mxs/patches-4.9/110-crypto-mxsdcp-provide-importexport.patch deleted file mode 100644 index e8d8852b03..0000000000 --- a/target/linux/mxs/patches-4.9/110-crypto-mxsdcp-provide-importexport.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/drivers/crypto/mxs-dcp.c -+++ b/drivers/crypto/mxs-dcp.c -@@ -770,6 +770,24 @@ static void dcp_sha_cra_exit(struct cryp - { - } - -+static int dcp_sha_export(struct ahash_request *req, void *out) -+{ -+ struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req); -+ -+ memcpy(out, rctx, sizeof(struct dcp_sha_req_ctx)); -+ -+ return 0; -+} -+ -+static int dcp_sha_import(struct ahash_request *req, const void *in) -+{ -+ struct dcp_sha_req_ctx *rctx = ahash_request_ctx(req); -+ -+ memcpy(rctx, in, sizeof(struct dcp_sha_req_ctx)); -+ -+ return 0; -+} -+ - /* AES 128 ECB and AES 128 CBC */ - static struct crypto_alg dcp_aes_algs[] = { - { -@@ -829,8 +847,11 @@ static struct ahash_alg dcp_sha1_alg = { - .final = dcp_sha_final, - .finup = dcp_sha_finup, - .digest = dcp_sha_digest, -+ .import = dcp_sha_import, -+ .export = dcp_sha_export, - .halg = { - .digestsize = SHA1_DIGEST_SIZE, -+ .statesize = sizeof(struct dcp_sha_req_ctx), - .base = { - .cra_name = "sha1", - .cra_driver_name = "sha1-dcp", -@@ -853,8 +874,11 @@ static struct ahash_alg dcp_sha256_alg = - .final = dcp_sha_final, - .finup = dcp_sha_finup, - .digest = dcp_sha_digest, -+ .import = dcp_sha_import, -+ .export = dcp_sha_export, - .halg = { - .digestsize = SHA256_DIGEST_SIZE, -+ .statesize = sizeof(struct dcp_sha_req_ctx), - .base = { - .cra_name = "sha256", - .cra_driver_name = "sha256-dcp", |