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

#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]) ;
}