engines/e_aep.c: make it BN_ULONG-size and endian "neutral".