Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto/ipsec_mb: fix incorrectly setting cipher keys
The encryption and decryption keys were incorrectly being reset based on authentication algorithm after already being set earlier in the code based on cipher algorithm. In cases when 3DES was used, the keys were being incorrectly overwritten. For CPU path, there is no need to have the keys set for XCBC and CMAC cases. Fixes: 010230a ("crypto/aesni_mb: support Chacha20-Poly1305") Fixes: b0a37e8 ("crypto/ipsec_mb: fix cipher key setting") Fixes: a2c6d3f ("crypto/aesni_mb: support CPU crypto") Signed-off-by: Ciara Power <[email protected]> Acked-by: Luca Boccassi <[email protected]>
- Loading branch information