trezor / trezor-crypto

:lock: Don't use this repo, use the new monorepo instead:
https://github.com/trezor/trezor-firmware
MIT License
501 stars 201 forks source link

Add packed attribute to U8TO32_LITTLE() which casts byte pointers to … #197

Closed andrewkozlik closed 5 years ago

andrewkozlik commented 5 years ago

…word pointers to alert the compiler that the byte pointer might not be aligned with word size.

prusnak commented 5 years ago

Sorry, I just remembered GCC-8 does not like this. :-/

See related issue here: https://github.com/micropython/stm32lib/pull/6

Let's not merge this then.