diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2023-05-24 12:35:29 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-06-17 01:24:13 +0300 |
commit | 2a32897c840be1c0a0525f4279b365781acfba24 (patch) | |
tree | a2e1f5930f2b92e714b0a657c02954a66fc23095 /include/linux/dm-bufio.h | |
parent | ef6953fb68fe52a13cd154509d1ac9f9748c6051 (diff) | |
download | linux-2a32897c840be1c0a0525f4279b365781acfba24.tar.xz |
dm crypt: fix crypt_ctr_cipher_new return value on invalid AEAD cipher
If the user specifies invalid AEAD cipher, dm-crypt should return the
error returned from crypt_ctr_auth_spec, not -ENOMEM.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'include/linux/dm-bufio.h')
0 files changed, 0 insertions, 0 deletions