Skip to content
Commit 7c15b08a authored by Carles Cufi's avatar Carles Cufi Committed by Benjamin Cabé
Browse files

lib: hash: murmur3: Account for unaligned 32-bit access



The code was casting a byte array to 32-bit words without accounting for
alignment. On some platforms (e.g. Arm Cortex-M with multiple load/store
instructions) this will fault. Fix it by using the UNALIGED_GET() macro
whenever the array is passed unaligned.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent d3704516
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment