diff options
author | Alex Porosanu <alexandru.porosanu@freescale.com> | 2013-09-09 18:56:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-13 21:43:53 +1000 |
commit | d5e4e999cda51eaa62e662088579fcce0ac79e92 (patch) | |
tree | 0d1d4289a598444ec542797a19a5d214d245652a /drivers/crypto/caam/caamhash.c | |
parent | f5b38c5f19b1dafb413c6581cd4a0d84d3b6512f (diff) | |
download | blackbird-op-linux-d5e4e999cda51eaa62e662088579fcce0ac79e92.tar.gz blackbird-op-linux-d5e4e999cda51eaa62e662088579fcce0ac79e92.zip |
crypto: caam - fix RNG state handle instantiation descriptor
The way the DECO runs a descriptor through the direct (debug)
interface is different from the JRI interface: the DECO will
continue to try and execute the next commands, after the descriptor
buffer has ended. This leads to unpredictable results and possibly
to locking up of the DECO. This patch adds a halt command at the
end of the descriptor to ensure the DECO halts when it reaches
the end of the descriptor buffer.
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamhash.c')
0 files changed, 0 insertions, 0 deletions