[CRYPTO] Use standard byte order macros wherever possible