ucryptolib/test.c
static void cprint(const clBignumModulus* mod) {
  int i;
  printf("{\n%d, %d, 0x%08x,\n", mod->size, mod->nwords, mod->n0inv);
  printf("{\n");
  for (i = 0; i < mod->nwords; ++i) {
    printf("0x%08x,", mod->n[i]);
    if ((i & 3) == 3) printf("\n");
  }
  printf("},\n{\n");
  for (i = 0; i < mod->nwords; ++i) {
    printf("0x%08x,", mod->rr[i]);
    if ((i & 3) == 3) printf("\n");
  }
  printf("}}\n");
}
// Print precomputed public key as C initializer.
Print precomputed public key as C initializer.
Print precomputed public key as C initializer .
static void cprint(const clBignumModulus* mod) {
  int i;
  printf("{\n%d, %d, 0x%08x,\n", mod->size, mod->nwords, mod->n0inv);
  printf("{\n");
  for (i = 0; i < mod->nwords; ++i) {
    printf("0x%08x,", mod->n[i]);
    if ((i & 3) == 3) printf("\n");
  }
  printf("},\n{\n");
  for (i = 0; i < mod->nwords; ++i) {
    printf("0x%08x,", mod->rr[i]);
    if ((i & 3) == 3) printf("\n");
  }
  printf("}}\n");
}
static void cprint ( const clBignumModulus * mod ) { int i ; printf ( " \n \n " , mod -> size , mod -> nwords , mod -> n0inv ) ; printf ( " \n " ) ; for ( i = 0 ; i < mod -> nwords ; ++ i ) { printf ( " " , mod -> n [ i ] ) ; if ( ( i & 3 ) == 3 ) printf ( " \n " ) ; } printf ( " \n \n " ) ; for ( i = 0 ; i < mod -> nwords ; ++ i ) { printf ( " " , mod -> rr [ i ] ) ; if ( ( i & 3 ) == 3 ) printf ( " \n " ) ; } printf ( " \n " ) ; }
Print precomputed public key as C initializer.
Print precomputed public key as C initializer .