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-12-19 12:36:42 +01:00
2022-07-19 12:47:35 +00:00
2022-07-13 11:40:42 +02:00
2022-08-17 14:23:55 +02:00
2022-08-10 08:58:48 +01:00
2022-08-17 14:22:47 +02:00
2022-08-17 14:24:09 +02:00
2022-11-03 23:59:19 +09:00
2022-12-08 16:43:35 +00:00
2022-06-09 10:23:25 +02:00
2022-08-31 17:16:40 +02:00
2022-11-26 09:24:32 +01:00
2022-07-12 16:34:53 +02:00
2022-09-24 14:14:08 +02:00
2022-11-16 09:58:30 +01:00
2022-08-17 14:23:48 +02:00
2022-10-26 12:34:38 +02:00
2022-09-24 10:03:40 +02:00
2022-08-17 14:23:11 +02:00
2022-07-19 03:52:37 +00:00
2022-12-07 00:37:19 +00:00
2022-11-22 17:50:08 +00:00
2022-08-17 14:23:11 +02:00
2022-11-14 13:37:58 +00:00
2022-10-26 12:35:12 +02:00
2022-06-22 14:22:02 +02:00
2022-11-11 16:07:56 +00:00
2022-07-29 17:25:25 +02:00
2022-07-19 12:47:37 +00:00
2023-01-03 23:00:35 +00:00
2023-01-13 19:18:55 +00:00
2023-01-11 23:49:47 +00:00
2022-11-18 22:29:39 +00:00
2022-11-16 10:04:35 +00:00
2022-11-16 10:04:35 +00:00
2022-08-25 11:40:02 +02:00
2022-09-15 11:30:00 +02:00
2022-07-21 21:24:13 +02:00
2022-12-14 13:04:18 +01:00
2022-07-16 00:13:40 +00:00
2022-12-14 11:37:14 +01:00
2023-01-05 02:16:50 +00:00
2022-07-12 16:35:01 +02:00
2022-07-12 16:35:01 +02:00
2022-12-07 14:35:27 +00:00
2022-07-12 16:35:01 +02:00
2022-07-23 12:54:02 +02:00
2022-06-14 11:49:05 +02:00
2022-09-28 11:11:40 +02:00
2022-07-19 03:52:48 +00:00
2022-09-15 11:30:02 +02:00
2022-06-19 15:39:57 -07:00
2022-07-19 12:47:35 +00:00
2022-07-07 17:53:26 +02:00
2022-07-19 12:47:28 +00:00
2022-08-23 13:13:12 +00:00
2022-10-26 12:35:08 +02:00
2022-11-10 18:15:39 +01:00
2022-07-19 12:47:33 +00:00
2022-10-26 12:35:49 +02:00
2022-07-13 11:55:41 +02:00
2022-06-14 18:36:21 +02:00
2022-10-11 11:08:01 -07:00
2022-07-12 16:35:09 +02:00
2022-11-01 19:22:47 -07:00
2023-01-04 13:00:53 -08:00
2023-01-04 17:13:29 -08:00
2022-12-16 02:20:17 +00:00
2023-01-04 17:13:29 -08:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:33 +00:00
2023-01-05 02:16:50 +00:00
2022-06-09 10:23:20 +02:00
2022-07-19 12:47:35 +00:00
2022-12-22 10:57:47 -08:00
2022-12-20 21:21:26 +00:00
2022-07-19 12:47:33 +00:00
2022-11-10 18:15:24 +01:00
2022-12-07 00:37:19 +00:00
2022-09-20 12:39:43 +02:00
2022-08-25 11:40:41 +02:00
2022-08-04 13:03:53 +00:00
2022-07-19 12:47:33 +00:00
2022-07-19 12:47:33 +00:00
2022-08-11 13:07:50 +02:00
2022-11-02 08:51:19 +01:00
2022-07-19 12:47:32 +00:00
2022-07-19 12:47:33 +00:00
2022-09-20 12:39:42 +02:00
2022-07-13 11:55:41 +02:00
2022-12-20 21:21:26 +00:00
2022-12-20 23:11:42 +00:00
2022-07-19 12:47:33 +00:00
2022-07-21 21:24:29 +02:00
2022-08-17 14:24:08 +02:00
2022-07-19 12:47:34 +00:00
2022-11-23 17:11:25 +00:00
2022-07-12 16:35:08 +02:00
2022-08-17 14:23:08 +02:00
2022-08-17 14:22:57 +02:00
2022-12-14 11:37:18 +01:00
2022-11-18 09:06:50 +00:00
2022-11-30 00:28:11 +00:00
2022-07-12 16:35:10 +02:00
2022-08-17 14:23:43 +02:00
2022-11-30 00:28:11 +00:00
2022-11-30 00:28:11 +00:00
2022-12-20 23:11:40 +00:00
2022-07-19 12:47:34 +00:00
2022-11-30 00:28:11 +00:00
2023-01-04 13:00:53 -08:00
2022-12-19 16:30:28 +00:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:29 +00:00
2022-06-09 10:23:32 +02:00
2022-07-19 12:47:32 +00:00
2022-09-24 10:01:28 +02:00
2022-06-09 10:23:17 +02:00
2022-09-20 12:39:42 +02:00
2022-11-03 23:59:10 +09:00
2022-08-25 11:40:43 +02:00
2022-11-30 00:28:11 +00:00
2022-07-23 12:54:08 +02:00
2022-09-23 14:15:48 +02:00
2022-08-17 14:23:14 +02:00
2022-10-26 12:34:49 +02:00
2022-10-21 09:24:58 +00:00
2022-07-19 12:47:28 +00:00
2023-01-04 02:18:52 +00:00
2023-01-04 02:18:52 +00:00
2023-01-04 02:18:52 +00:00
2022-11-30 00:28:11 +00:00
2022-11-30 00:28:11 +00:00
2023-01-05 02:16:50 +00:00
2022-12-20 21:21:26 +00:00
2022-08-17 14:22:57 +02:00
2022-07-19 12:47:32 +00:00
2022-11-15 12:48:44 +00:00
2022-11-30 00:28:11 +00:00
2022-07-13 18:42:42 +02:00
2022-10-29 10:12:56 +02:00
2022-08-17 14:22:51 +02:00
2022-07-19 12:47:39 +00:00
2022-07-12 16:35:09 +02:00
2023-01-04 13:00:53 -08:00
2022-10-07 20:22:29 +00:00
2022-07-19 12:47:34 +00:00
2022-06-14 18:36:27 +02:00
2022-06-29 09:03:17 +02:00
2022-07-19 12:47:32 +00:00
2022-07-21 21:24:15 +02:00
2022-11-26 09:24:42 +01:00
2023-01-04 02:28:34 +00:00
2022-07-19 12:47:31 +00:00
2022-07-12 16:35:17 +02:00
2022-08-04 15:18:41 +02:00
2022-11-30 00:28:11 +00:00
2022-10-12 20:14:04 +02:00
2022-07-12 16:35:08 +02:00
2022-10-26 12:35:14 +02:00
2022-12-04 12:02:10 +00:00
2022-07-19 12:47:36 +00:00
2022-11-02 08:51:19 +01:00
2022-11-16 09:58:15 +01:00
2022-12-20 23:11:42 +00:00
2022-12-20 21:21:26 +00:00
2022-09-28 17:16:17 +00:00
2022-07-12 16:35:03 +02:00
2023-01-05 02:16:50 +00:00
2022-07-29 17:25:11 +02:00
2022-07-21 21:24:35 +02:00
2022-11-02 08:51:19 +01:00
2022-07-19 12:47:30 +00:00
2022-08-24 14:01:38 -07:00
2022-07-19 12:47:36 +00:00
2022-08-17 14:23:22 +02:00
2022-08-17 14:24:28 +02:00
2022-10-26 12:34:31 +02:00
2022-11-26 09:24:49 +01:00
2022-07-29 17:25:32 +02:00
2022-08-25 11:40:34 +02:00
2022-12-20 21:21:26 +00:00
2022-09-15 11:30:05 +02:00
2022-09-24 10:03:40 +02:00
2022-07-19 12:47:34 +00:00
2022-11-11 16:07:56 +00:00
2022-07-13 19:41:43 +02:00
2022-09-21 17:30:12 +02:00
2022-11-26 09:24:51 +01:00