Lines Matching refs:padbound
142 if (algo->padbound)
143 maxpad = algo->padbound;
146 maxpad += 1; /* maximum 'extendsiz' is padbound + 1, see esp_output */
506 size_t padbound;
511 if (algo->padbound)
512 padbound = algo->padbound;
514 padbound = 4;
516 if (padbound < 4)
517 padbound = 4;
519 extendsiz = padbound - (plen % padbound);
521 extendsiz = padbound + 1;
545 randpadmax = (randpadmax / padbound) * padbound;
546 pad = (randpadmax - plen + extendsiz) / padbound;
549 pad = (random() % pad) * padbound;