Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: cbc - Ensure statesize is zero
The cbc template should not be applied on stream ciphers, especially ones that have internal state. Enforce this by checking the state size when the instance is created. Reported-by: [email protected] Fixes: 47309ea ("crypto: arc4 - Add internal state") Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information