diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0058-sanity-check-on-dev-crypto-availability.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0058-sanity-check-on-dev-crypto-availability.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0058-sanity-check-on-dev-crypto-availability.patch b/recipes-kernel/cryptodev/sdk_patches/0058-sanity-check-on-dev-crypto-availability.patch new file mode 100644 index 000000000..62733301a --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0058-sanity-check-on-dev-crypto-availability.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From b04d0b7ccb9150d4f16c712a830f8a4e3bdd2d05 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Wed, 26 Oct 2016 09:29:36 +0300 | ||
| 4 | Subject: [PATCH 058/104] sanity check on /dev/crypto availability | ||
| 5 | |||
| 6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 7 | --- | ||
| 8 | tests/async_speed_multi.sh | 2 ++ | ||
| 9 | 1 file changed, 2 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh | ||
| 12 | index 761c0cb..94c2312 100755 | ||
| 13 | --- a/tests/async_speed_multi.sh | ||
| 14 | +++ b/tests/async_speed_multi.sh | ||
| 15 | @@ -108,6 +108,8 @@ function control_c | ||
| 16 | |||
| 17 | function main | ||
| 18 | { | ||
| 19 | + [ ! -e "/dev/crypto" ] && sudo modprobe cryptodev || modprobe cryptodev || exit 1 | ||
| 20 | + | ||
| 21 | while getopts hm:t:n: option | ||
| 22 | do | ||
| 23 | case "$option" in | ||
| 24 | -- | ||
| 25 | 2.10.2 | ||
| 26 | |||
