add KEYSTREAM_ONLY & old code; extra code for u_int32_t case