summaryrefslogtreecommitdiff
path: root/src/libbiguint/bu_pack.c
blob: a2d37dce92a3dd6e482abfd6dca3b958b202f669 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <stdint.h>
#include <skalibs/uint32.h>
#include <skalibs/biguint.h>

void bu_pack (char *s, uint32_t const *a, unsigned int n)
{
  while (n--) uint32_pack(s + (n<<2), a[n]) ;
}