diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2018-02-26 14:45:12 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-09 22:45:31 +0800 |
commit | 4dc5475ae0375ea4f9283dfd9b2ddc91b20d4c4b (patch) | |
tree | 9432ff6c6646208e24fa4b23c00cae4207b23f76 /drivers/char | |
parent | cff9a17545a3c64e91ea913245eae41d28f51d8d (diff) | |
download | lwn-4dc5475ae0375ea4f9283dfd9b2ddc91b20d4c4b.tar.gz lwn-4dc5475ae0375ea4f9283dfd9b2ddc91b20d4c4b.zip |
crypto: inside-secure - wait for the request to complete if in the backlog
This patch updates the safexcel_hmac_init_pad() function to also wait
for completion when the digest return code is -EBUSY, as it would mean
the request is in the backlog to be processed later.
Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions