mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Merge "ANDROID: dm-default-key: Update key size for wrapped keys"
This commit is contained in:
commit
9657f724eb
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ static int default_key_ctr(struct dm_target *ti, unsigned int argc, char **argv)
|
|||
goto bad;
|
||||
}
|
||||
|
||||
err = blk_crypto_init_key(&dkc->key, raw_key, cipher->key_size,
|
||||
err = blk_crypto_init_key(&dkc->key, raw_key, raw_key_size,
|
||||
dkc->is_hw_wrapped, cipher->mode_num,
|
||||
dkc->sector_size);
|
||||
if (err) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue