diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-11-21 13:54:20 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-11-24 17:53:02 +0800 |
| commit | ebbdf6466b30e3b37f3b360826efd21f0633fb9e (patch) | |
| tree | 9e4fe8d685b57a61b463770c79b439c3b3fd4fdc /scripts/get_abi.py | |
| parent | b0356b75f42fde15d4be268c5891f2cee6eb65bf (diff) | |
crypto: ahash - Zero positive err value in ahash_update_finish
The partial block length returned by a block-only driver should
not be passed up to the caller since ahash itself deals with the
partial block data.
Set err to zero in ahash_update_finish if it was positive.
Reported-by: T Pratham <t-pratham@ti.com>
Tested-by: T Pratham <t-pratham@ti.com>
Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/get_abi.py')
0 files changed, 0 insertions, 0 deletions
