Lines Matching refs:outlen
571 int outlen = -1, noinc = 0; in do_i2b() local
585 outlen = 16 in do_i2b()
592 if ((p = OPENSSL_malloc(outlen)) == NULL) { in do_i2b()
593 outlen = -1; in do_i2b()
616 *out += outlen; in do_i2b()
618 return outlen; in do_i2b()
624 int outlen, wrlen; in do_i2b_bio() local
626 outlen = do_i2b(&tmp, pk, ispub); in do_i2b_bio()
627 if (outlen < 0) in do_i2b_bio()
629 wrlen = BIO_write(out, tmp, outlen); in do_i2b_bio()
631 if (wrlen == outlen) in do_i2b_bio()
632 return outlen; in do_i2b_bio()
1016 int outlen = 24, pklen; in i2b_PVK() local
1025 outlen += PVK_SALTLEN; in i2b_PVK()
1029 outlen += pklen; in i2b_PVK()
1031 return outlen; in i2b_PVK()
1035 start = p = OPENSSL_malloc(outlen); in i2b_PVK()
1100 ret = outlen; in i2b_PVK()
1117 int outlen, wrlen; in i2b_PVK_bio_ex() local
1119 outlen = i2b_PVK(&tmp, pk, enclevel, cb, u, libctx, propq); in i2b_PVK_bio_ex()
1120 if (outlen < 0) in i2b_PVK_bio_ex()
1122 wrlen = BIO_write(out, tmp, outlen); in i2b_PVK_bio_ex()
1124 if (wrlen == outlen) { in i2b_PVK_bio_ex()
1125 return outlen; in i2b_PVK_bio_ex()