summaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2022-08-23 15:42:19 +0300
committerMark Brown <broonie@kernel.org>2022-08-23 19:52:38 +0100
commita337c2012774d588fcab318c42edc2601d90e549 (patch)
tree72cb2605974f48295356567922e3e6f6c39b9fd9 /lib/libcrc32c.c
parent1332d2078a839b371b3d541c3653a800d12a763d (diff)
downloadlinux-stable-a337c2012774d588fcab318c42edc2601d90e549.tar.gz
linux-stable-a337c2012774d588fcab318c42edc2601d90e549.tar.bz2
linux-stable-a337c2012774d588fcab318c42edc2601d90e549.zip
ASoC: SOF: ipc4-loader: Verify ext manifest magic number
Firmware image must start with an extended manifest. Add a check to make sure that the image does contain it. The magic number (the first u32 of a firmware image if manifest is present) for an IPC4 image must be 0x31454124 (ASCI "$AE1"). Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20220823124219.927-1-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions