I'm trying to implement a seeded murmur3 hash using the bip37 standard for use in bloom filters.
In hash.cpp in bitcoin core, the seed is an unsigned int value. However my understanding of bip37 to determine a seed value is defined with the formula
i * BIP37 Constant + Tweak
where i iterates the number of functions.
Example, If i = 4, and Tweak = 100, this would lead to an overflow since it cannot be represented in a uint32?
I would be grateful for help, and to know if I need to use a 64-bit int for my seed. Thanks.