new trezor-crypto, uint32_t -> size_t