about summary refs log tree commit diff
path: root/src/libbiguint/bu_pack_big.c
blob: 8340fd7caa87ab16168246f78a236a0fcd34860b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

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

void bu_pack_big (char *s, uint32 const *a, unsigned int n)
{
  register unsigned int i = 0 ;
  for (; i < n ; i++) uint32_pack_big(s + (i<<2), a[n-1-i]) ;
}