summaryrefslogtreecommitdiff
path: root/package/cryptodev-linux/patches/patch-cryptlib_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-31 05:12:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-02 16:12:46 +0200
commit93d2c561b61410f073b9327badee5f4b4b74b851 (patch)
tree3478fb60765e6f91f4a0df06ff0dcd34f2a92c6a /package/cryptodev-linux/patches/patch-cryptlib_c
parentce1cb59930d6f9adc11f907baab589cec13cbe86 (diff)
cryptodev-linux: use latest git
Diffstat (limited to 'package/cryptodev-linux/patches/patch-cryptlib_c')
-rw-r--r--package/cryptodev-linux/patches/patch-cryptlib_c25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/cryptodev-linux/patches/patch-cryptlib_c b/package/cryptodev-linux/patches/patch-cryptlib_c
deleted file mode 100644
index 02e8d9b35..000000000
--- a/package/cryptodev-linux/patches/patch-cryptlib_c
+++ /dev/null
@@ -1,25 +0,0 @@
---- cryptodev-linux-1.8.orig/cryptlib.c 2015-11-28 02:07:11.000000000 +0100
-+++ cryptodev-linux-1.8/cryptlib.c 2016-12-13 02:21:39.899840926 +0100
-@@ -36,6 +36,7 @@
- #include <crypto/aead.h>
- #include <linux/rtnetlink.h>
- #include <crypto/authenc.h>
-+#include <crypto/skcipher.h>
- #include "cryptodev_int.h"
-
-
-@@ -131,11 +132,13 @@ int cryptodev_cipher_init(struct cipher_
- uint8_t *keyp, size_t keylen, int stream, int aead)
- {
- int ret;
-+ struct crypto_skcipher *tfm;
-
- if (aead == 0) {
- struct ablkcipher_alg *alg;
-
-- out->async.s = crypto_alloc_ablkcipher(alg_name, 0, 0);
-+ tfm = crypto_alloc_skcipher(alg_name, 0, 0);
-+ out->async.s->base = tfm->base;
- if (unlikely(IS_ERR(out->async.s))) {
- ddebug(1, "Failed to load cipher %s", alg_name);
- return -EINVAL;