Lines Matching refs:klen
149 int klen; in pem_read_bio_key_legacy() local
155 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in pem_read_bio_key_legacy()
157 klen = PEM_def_callback(psbuf, PEM_BUFSIZE, 0, u); in pem_read_bio_key_legacy()
158 if (klen < 0) { in pem_read_bio_key_legacy()
163 p8inf = PKCS8_decrypt(p8, psbuf, klen); in pem_read_bio_key_legacy()
165 OPENSSL_cleanse(psbuf, klen); in pem_read_bio_key_legacy()
325 (const char *)kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
326 return PEM_write_bio_PrivateKey_traditional(out, x, enc, kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
331 return PEM_write_bio_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, in PEM_write_cb_fnsig()
341 const unsigned char *kstr, int klen, in PEM_write_bio_PrivateKey_traditional() argument
363 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
439 ret = PEM_write_bio_PrivateKey_ex(b, x, enc, kstr, klen, cb, u, in PEM_write_cb_ex_fnsig()
447 return PEM_write_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, NULL, NULL); in PEM_write_cb_fnsig()