mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-28 08:58:55 +00:00
8 lines
123 B
C
8 lines
123 B
C
|
#include "uint16_pack.h"
|
||
|
|
||
|
void uint16_pack(unsigned char *y,crypto_uint16 x)
|
||
|
{
|
||
|
*y++ = x; x >>= 8;
|
||
|
*y++ = x; x >>= 8;
|
||
|
}
|