Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c321 offs = slen % BIGNUM_WORDSIZE; in bytestring2bignum()
322 bn->len = slen / BIGNUM_WORDSIZE; in bytestring2bignum()
327 for (j = 1; j < BIGNUM_WORDSIZE; j++) { in bytestring2bignum()
357 if (len < BIGNUM_WORDSIZE * bn->len) { in bignum2bytestring()
360 for (j = 0; j < BIGNUM_WORDSIZE; j++) { in bignum2bytestring()
366 offs = slen % BIGNUM_WORDSIZE; in bignum2bytestring()
429 BIGNUM_WORDSIZE * dest->size, in big_copy()
430 BIGNUM_WORDSIZE * len); in big_copy()
433 big_malloc(BIGNUM_WORDSIZE * len); in big_copy()
469 BIGNUM_WORDSIZE * number->size, in big_extend()
[all …]
H A Dbignum.h71 #define BIGNUM_WORDSIZE (BIG_CHUNK_SIZE / BITSINBYTE) /* word size in bytes */ macro