Searched refs:dmax (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.h85 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */ member in struct:inflate_state
H A Dinffast.c80 unsigned dmax; /* maximum distance from zlib header */ local
107 dmax = state->dmax;
179 if (dist > dmax) {
H A Dinflate.c123 state->dmax = 32768U;
634 state->dmax = 1U << len;
1057 if (state->offset > state->dmax) {
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_lib.c192 * This function still leaks `a->dmax`: it's caller's responsibility to
203 for (j = 0, past_i = 0, ret = 0; j < a->dmax; j++) {
229 * so that a->dmax is not leaking secret information.
253 OPENSSL_cleanse(a->d, a->dmax * sizeof(a->d[0]));
297 ret->dmax = 0;
304 /* The caller MUST check that words > b->dmax before calling this */
401 * This function does not work if words <= b->dmax && top < words because
402 * BN_dup() does not preserve 'dmax'! (But bn_dup_expand() is not used
406 if (words > b->dmax) {
413 r->dmax
[all...]
H A Dbn_mod.c190 ai += (i - a->dmax) >> (8 * sizeof(i) - 1);
191 bi += (i - b->dmax) >> (8 * sizeof(i) - 1);
267 ai += (i - a->dmax) >> (8 * sizeof(i) - 1);
268 bi += (i - b->dmax) >> (8 * sizeof(i) - 1);
H A Dbn.h295 (dest)->dmax=(b)->dmax, \
318 int dmax; /* Size of the d array. */ member in struct:bignum_st
781 (((bits+BN_BITS2-1)/BN_BITS2) <= (a)->dmax) ? \
787 # define bn_wexpand(a,words) (((words) <= (a)->dmax)?(a):bn_expand2((a),(words)))
846 if(_bnum1->top < _bnum1->dmax) { \
850 * wouldn't be constructed with top!=dmax. */ \
856 (_bnum1->dmax - _bnum1->top) * sizeof(BN_ULONG)); \
883 assert((words) <= (_bnum2)->dmax && (words) >= (_bnum2)->top); \
H A Dbn_div.c297 wnum.dmax = snum->dmax - loop; /* so we don't step out of bounds */
H A Dbn_ctx.c160 fprintf(stderr, "%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);
243 fprintf(stderr, "%02x ", pool->vals[loop++].dmax);
H A Dbn_blind.c279 if (n->dmax >= r->top) {
H A Dbn_lcl.h338 int ind = (a)->dmax - (a)->top; \
H A Dbn_mont.c387 tmod.dmax = 2;
/freebsd-11-stable/sys/contrib/zlib/
H A Dinffast.c61 unsigned dmax; /* maximum distance from zlib header */ local
88 dmax = state->dmax;
160 if (dist > dmax) {
H A Dinflate.h90 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */ member in struct:inflate_state
H A Dinflate.c133 state->dmax = 32768U;
699 state->dmax = 1U << len;
1138 if (state->offset > state->dmax) {
/freebsd-11-stable/sbin/fsck_ffs/
H A Dpass5.c62 ufs2_daddr_t d, dbase, dmax, start; local
150 dmax = blknum(fs, fs->fs_size + fs->fs_frag - 1);
151 for (d = fs->fs_size; d < dmax; d++)
174 dmax = dbase + fs->fs_fpg;
175 if (dmax > fs->fs_size)
176 dmax = fs->fs_size;
177 newcg->cg_ndblk = dmax - dbase;
250 d < dmax;
/freebsd-11-stable/sbin/growfs/
H A Dgrowfs.c324 ufs2_daddr_t i, cbase, dmax; local
338 dmax = cbase + sblock.fs_fpg;
339 if (dmax > sblock.fs_size)
340 dmax = sblock.fs_size;
352 acg.cg_ndblk = dmax - cbase;
562 ufs2_daddr_t cbase, dmax, dupper; local
605 dmax = cbase + sblock.fs_fpg;
606 if (dmax > sblock.fs_size)
607 dmax = sblock.fs_size;
638 acg.cg_ndblk = dmax
[all...]
/freebsd-11-stable/crypto/openssl/engines/
H A De_sureware.c719 if (rsatmp->e->dmax != (int)(el / sizeof(BN_ULONG)) ||
720 rsatmp->n->dmax != (int)(el / sizeof(BN_ULONG)))
763 if (dsatmp->pub_key->dmax != (int)(el / sizeof(BN_ULONG))
764 || dsatmp->p->dmax != (int)(el / sizeof(BN_ULONG))
765 || dsatmp->q->dmax != 20 / sizeof(BN_ULONG)
766 || dsatmp->g->dmax != (int)(el / sizeof(BN_ULONG)))
1048 if (psign->r->dmax != 20 / sizeof(BN_ULONG) ||
1049 psign->s->dmax != 20 / sizeof(BN_ULONG))
1080 if (r->dmax == m->top) {
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec2_smpl.c200 for (i = dest->a.top; i < dest->a.dmax; i++)
202 for (i = dest->b.top; i < dest->b.dmax; i++)
229 for (i = group->a.top; i < group->a.dmax; i++)
238 for (i = group->b.top; i < group->b.dmax; i++)
H A Decp_nistz256.c1129 x.dmax = x.top = P256_LIMBS;
1134 y.dmax = y.top = P256_LIMBS;
1139 z.dmax = z.top = P256_LIMBS;
/freebsd-11-stable/usr.sbin/wlconfig/
H A Dwlconfig.c231 double dmax = (double) max; local
234 return((value/dmax) * 100);
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dmkfs.c584 daddr_t cbase, dmax; local
596 dmax = cbase + sblock.fs_fpg;
597 if (dmax > sblock.fs_size)
598 dmax = sblock.fs_size;
609 acg.cg_ndblk = dmax - cbase;
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_crpt.c222 RAND_add(rsa->d->d, rsa->d->dmax * sizeof(rsa->d->d[0]), 0.0);
/freebsd-11-stable/sbin/newfs/
H A Dmkfs.c663 ufs2_daddr_t cbase, dmax; local
674 dmax = cbase + sblock.fs_fpg;
675 if (dmax > sblock.fs_size)
676 dmax = sblock.fs_size;
688 acg.cg_ndblk = dmax - cbase;
/freebsd-11-stable/contrib/diff/src/
H A Danalyze.c100 lin const dmax = xlim - yoff; /* Maximum valid diagonal. */ local
119 fmax < dmax ? fd[++fmax + 1] = -1 : --fmax;
146 bmax < dmax ? bd[++bmax + 1] = LIN_MAX : --bmax;
/freebsd-11-stable/usr.sbin/ppp/
H A Dcommand.c216 int n, cmax, dmax, cols, cxlen; local
235 cmax = dmax = 0;
240 if ((n = strlen(cmd->helpmes)) > dmax)
241 dmax = n;
244 cols = 80 / (dmax + cmax + 3);
255 cmd->name, cxlen, cxlen, cx, dmax, dmax, cmd->helpmes);

Completed in 390 milliseconds

12