Files
kernel_arpi/fs
Eric Biggers b170ae24d0 ANDROID: fscrypt, blk-crypto: drop HW-wrapped key compatibility check
In the updated HW-wrapped key code in the android14 kernels, HW-wrapped
keys are only allowed on a multi-block-device filesystem if they have a
compatible HW-wrapped keys implementation.  While in principle this is a
good thing to check, my implementation of it, which simply checks
whether the block devices have the same crypto profiles, doesn't work
when device-mapper is being used.

To actually do that check correctly, I think we'd need to add a
HW-wrapped keys implementation name or ID to the crypto capabilities.

That being said, in Android the HW-wrapped keys implementation is a
global thing anyway.  So in the interest of not overcomplicating things,
for now let's just drop these extra checks that are causing problems.

Bug: 160883801
Bug: 265180564
Fixes: 4887dd4fe3 ("ANDROID: fscrypt: add support for hardware-wrapped keys")
Fixes: 3918b39c3e ("ANDROID: update "block: add basic hardware-wrapped key support" to v7")
Change-Id: Ia49d62cc2c56447fb898f19bf67df1a38af379f8
Signed-off-by: Eric Biggers <ebiggers@google.com>
2023-01-13 19:18:55 +00:00
..
2022-09-21 17:30:12 +02:00
2022-12-08 16:43:35 +00:00
2022-12-14 13:04:18 +01:00
2022-12-04 12:02:10 +00:00
2022-12-14 13:04:18 +01:00
2023-01-04 13:00:52 -08:00
2022-08-02 08:37:15 +02:00
2022-11-02 08:51:19 +01:00
2022-07-13 11:40:42 +02:00
2022-11-28 16:08:50 +00:00
2022-07-13 11:40:42 +02:00
2022-11-02 08:51:19 +01:00
2022-07-13 11:55:41 +02:00
2022-07-13 11:40:42 +02:00
2023-01-04 13:00:53 -08:00
2022-04-24 16:57:32 +02:00
2021-12-29 12:28:59 +01:00
2022-11-28 16:08:50 +00:00
2023-01-04 13:00:52 -08:00
2022-12-08 16:43:35 +00:00
2022-07-13 11:40:42 +02:00
2022-11-28 16:08:50 +00:00
2022-11-02 08:51:19 +01:00
2022-11-03 14:21:38 +09:00
2022-09-24 14:14:08 +02:00
2022-12-22 18:50:37 +00:00
2023-01-04 13:00:53 -08:00
2022-12-04 12:02:10 +00:00
2023-01-04 13:00:54 -08:00
2022-09-21 17:30:12 +02:00
2022-12-14 13:04:18 +01:00
2022-10-12 20:14:04 +02:00
2022-06-10 07:30:09 +02:00
2022-12-14 13:04:18 +01:00
2022-11-28 16:08:50 +00:00
2023-01-04 13:00:53 -08:00
2022-12-19 17:29:08 +01:00
2022-07-12 16:35:08 +02:00
2021-12-14 10:57:15 +01:00
2022-11-02 08:51:19 +01:00
2022-06-06 11:12:02 +02:00
2022-11-15 16:38:36 +00:00
2022-06-06 11:12:02 +02:00
2023-01-04 13:00:53 -08:00