#!/bin/sh # # Copyright 2015, Daniel Axtens, IBM Corporation # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # do we have ./getscom, ./putscom? if [ -x ./getscom ] && [ -x ./putscom ]; then GETSCOM=./getscom PUTSCOM=./putscom elif which getscom > /dev/null; then GETSCOM=$(which getscom) PUTSCOM=$(which putscom) else cat < /dev/null; then echo "Error injecting. Aborting!" exit 1 fi # now we want to wait for all the HMIs to be processed # we expect one per thread on the core i=0; new_hmis=$(COUNT_HMIS) while [ $new_hmis -lt $((old_hmis + expected_hmis)) ] && [ $i -lt 12 ]; do echo "Seen $((new_hmis - old_hmis)) HMI(s) out of $expected_hmis expected, sleeping" sleep 5; i=$((i + 1)) new_hmis=$(COUNT_HMIS) done if [ $i = 12 ]; then echo "Haven't seen expected $expected_hmis recoveries after 1 min. Aborting." exit 1 fi echo "Processed $expected_hmis events; presumed success. Check dmesg." echo "" done .cgi/linux/net-next.git/commit/sound?id=11e3b725cfc282efe9d4a354153e99d86a16af08'>sound/soc/tegra/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-01-17 13:46:29 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-01-23 22:41:33 +0800
commit11e3b725cfc282efe9d4a354153e99d86a16af08 (patch)
tree8b5b9e0e1bcae1ab98ee652ffb7b13b05c209bd6 /sound/soc/tegra/Kconfig
parentd6040764adcb5cb6de1489422411d701c158bb69 (diff)
crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
Update the ARMv8 Crypto Extensions and the plain NEON AES implementations in CBC and CTR modes to return the next IV back to the skcipher API client. This is necessary for chaining to work correctly. Note that for CTR, this is only done if the request is a round multiple of the block size, since otherwise, chaining is impossible anyway. Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'sound/soc/tegra/Kconfig')