uint32_pack.c 165 B

123456789
  1. #include "uint32_pack.h"
  2. void uint32_pack(unsigned char *y,crypto_uint32 x)
  3. {
  4. *y++ = x; x >>= 8;
  5. *y++ = x; x >>= 8;
  6. *y++ = x; x >>= 8;
  7. *y++ = x; x >>= 8;
  8. }