mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-26 00:01:12 +00:00
10 lines
165 B
C
10 lines
165 B
C
|
#include "uint32_pack.h"
|
||
|
|
||
|
void uint32_pack(unsigned char *y,crypto_uint32 x)
|
||
|
{
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
}
|