hello, im trying to make SIMON encryption, in some addition it need 24 bit data to encrypt, it's possible to make 24 bit integer on arduino ? as far i know arduino only have
8 bit = uint8_t
16 bit = uint16_t
32 bit = uint32_t
64 bit = uint64_t
If what you need doesn't go beyond standard arithmetic and logic operators, it would be pretty easy to create a 24-bit integer class, with operators over-ridden to behave as expected. But if you need other math functions, like trig functions, etc. you'd have to roll your own on all of those.