Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: morus640 - Fix out-of-bounds access
We must load the block from the temporary variable here, not directly from the input. Also add forgotten zeroing-out of the uninitialized part of the temporary block (as is done correctly in morus1280.c). Fixes: 396be41 ("crypto: morus - Add generic MORUS AEAD implementations") Reported-by: [email protected] Reported-by: [email protected] Signed-off-by: Ondrej Mosnacek <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information