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: Carles Cufi <carles.cufi@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hash_func32_djb2.c | ||
| hash_func32_murmur3.c | ||
| hash_map_cxx.cpp | ||
| hash_map_oa_lp.c | ||
| hash_map_sc.c | ||
| Kconfig | ||
| Kconfig.hash_func | ||
| Kconfig.hash_map | ||