Lines Matching defs:pubexp
222 uint32_t pubexp, uint16_t *t, size_t tlen)
309 * not prime. Also, if pubexp is 3, 5, 7 or 11, and the
320 if ((pubexp == 3 && m3 == 1)
321 || (pubexp == 5 && m5 == 5)
322 || (pubexp == 7 && m5 == 7)
323 || (pubexp == 11 && m5 == 11))
440 unsigned size, uint32_t pubexp)
451 if (pubexp == 0) {
452 pubexp = 3;
453 } else if (pubexp == 1 || (pubexp & 1) == 0) {
476 br_enc32be(pk->e, pubexp);
505 mkprime(rng, p, esize_p, pubexp, t, tlen);
507 if (invert_pubexp(t, p, pubexp, t + 1 + plen)) {
517 mkprime(rng, q, esize_q, pubexp, t, tlen);
519 if (invert_pubexp(t, q, pubexp, t + 1 + qlen)) {