Lines Matching defs:klen
71 char *kstr, int klen,
75 char *kstr, int klen,
85 char *kstr, int klen,
88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
92 char *kstr, int klen,
95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u);
99 char *kstr, int klen,
102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u);
106 char *kstr, int klen,
109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u);
113 char *kstr, int klen,
127 if(!cb) klen = PEM_def_callback(buf, PEM_BUFSIZE, 1, u);
128 else klen = cb(buf, PEM_BUFSIZE, 1, u);
129 if(klen <= 0) {
137 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf);
138 if(kstr == buf) OPENSSL_cleanse(buf, klen);
156 int klen;
161 if (cb) klen=cb(psbuf,PEM_BUFSIZE,0,u);
162 else klen=PEM_def_callback(psbuf,PEM_BUFSIZE,0,u);
163 if (klen <= 0) {
168 p8inf = PKCS8_decrypt(p8, psbuf, klen);
184 char *kstr, int klen,
187 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u);
191 char *kstr, int klen,
194 return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u);
198 char *kstr, int klen,
201 return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u);
205 char *kstr, int klen, pem_password_cb *cb, void *u)
207 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u);
211 char *kstr, int klen,
220 ret = do_pk8pkey(bp, x, isder, nid, enc, kstr, klen, cb, u);