Home
last modified time | relevance | path

Searched refs:COMP_BYTE_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/crypto/axtls/
Dbigint.c232 memcpy(biR->comps, bi->comps, bi->size*COMP_BYTE_SIZE); in bi_clone()
328 memset(r, 0, ((n+1)*COMP_BYTE_SIZE)); in bi_int_multiply()
378 memset(quotient->comps, 0, ((quotient->size)*COMP_BYTE_SIZE)); in bi_divide()
403 memcpy(tmp_u->comps, &u->comps[u->size-n-1-j], (n+1)*COMP_BYTE_SIZE); in bi_divide()
455 memcpy(&u->comps[u->size-n-1-j], tmp_u->comps, (n+1)*COMP_BYTE_SIZE); in bi_divide()
577 memset(biR->comps, 0, num_shifts*COMP_BYTE_SIZE); /* zero LS comps */ in comp_left_shift()
591 bigint *biR = alloc(ctx, (size+COMP_BYTE_SIZE-1)/COMP_BYTE_SIZE); in bi_import()
594 memset(biR->comps, 0, biR->size*COMP_BYTE_SIZE); in bi_import()
600 if (++j == COMP_BYTE_SIZE) in bi_import()
624 memset(biR->comps, 0, biR->size*COMP_BYTE_SIZE); in bi_str_import()
[all …]
Dbigint_impl.h41 #define COMP_BYTE_SIZE 4 /**< Number of bytes in a component. */ macro