diff options
author | David Gstir <david@sigma-star.at> | 2024-07-17 14:28:44 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-08-15 22:01:14 +0300 |
commit | 6486cad00a8b7f8585983408c152bbe33dda529b (patch) | |
tree | f7f5e5b412a73f80e830e3b001f4144be5ae956c /security/keys/compat_dh.c | |
parent | a4a35f6cbebbf9466b6c412506ab89299d567f51 (diff) | |
download | linux-6486cad00a8b7f8585983408c152bbe33dda529b.tar.xz |
KEYS: trusted: fix DCP blob payload length assignment
The DCP trusted key type uses the wrong helper function to store
the blob's payload length which can lead to the wrong byte order
being used in case this would ever run on big endian architectures.
Fix by using correct helper function.
Cc: stable@vger.kernel.org # v6.10+
Fixes: 2e8a0f40a39c ("KEYS: trusted: Introduce NXP DCP-backed trusted keys")
Suggested-by: Richard Weinberger <richard@nod.at>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405240610.fj53EK0q-lkp@intel.com/
Signed-off-by: David Gstir <david@sigma-star.at>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security/keys/compat_dh.c')
0 files changed, 0 insertions, 0 deletions