Home
last modified time | relevance | path

Searched refs:kstr (Results 1 – 19 of 19) sorted by relevance

/openssl/crypto/pem/
H A Dpem_pk8.c23 const char *kstr, int klen,
30 const char *kstr, int klen,
56 const char *kstr, int klen, in i2d_PKCS8PrivateKey_bio() argument
63 const char *kstr, int klen, in i2d_PKCS8PrivateKey_nid_bio() argument
87 if (kstr == NULL && cb == NULL) { in do_pk8pkey()
89 kstr = u; in do_pk8pkey()
117 if (kstr != NULL in do_pk8pkey()
137 if (kstr == NULL) { in do_pk8pkey()
144 kstr = buf; in do_pk8pkey()
147 if (kstr == buf) in do_pk8pkey()
[all …]
H A Dpem_local.h55 if (kstr == NULL && cb == NULL) { \
57 kstr = u; \
68 if (kstr != NULL \
69 && !OSSL_ENCODER_CTX_set_passphrase(ctx, kstr, klen)) \
94 x, enc, kstr, klen, cb, u)
H A Dpem_pkey.c325 (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()
H A Dpem_lib.c302 const unsigned char *kstr, int klen, in PEM_ASN1_write() argument
313 ret = PEM_ASN1_write_bio(i2d, name, b, x, enc, kstr, klen, callback, u); in PEM_ASN1_write()
321 const unsigned char *kstr, int klen, in PEM_ASN1_write_bio() argument
361 if (kstr == NULL) { in PEM_ASN1_write_bio()
374 kstr = (unsigned char *)buf; in PEM_ASN1_write_bio()
383 if (!EVP_BytesToKey(enc, EVP_md5(), iv, kstr, klen, 1, key, NULL)) in PEM_ASN1_write_bio()
386 if (kstr == (unsigned char *)buf) in PEM_ASN1_write_bio()
H A Dpem_info.c225 const unsigned char *kstr, int klen, in PEM_X509_INFO_write_bio() argument
291 enc, kstr, klen, cb, u) <= 0) in PEM_X509_INFO_write_bio()
/openssl/include/openssl/
H A Dpem.h397 const unsigned char *kstr, int klen,
408 const unsigned char *kstr, int klen,
420 const unsigned char *kstr, int klen,
488 const char *kstr, int klen,
491 const char *kstr, int klen,
494 const char *kstr, int klen,
497 const char *kstr, int klen,
504 const char *kstr, int klen,
507 const char *kstr, int klen,
510 const char *kstr, int klen,
[all …]
H A Dencoder.h57 const unsigned char *kstr, size_t klen);
H A Ddecoder.h57 const unsigned char *kstr, size_t klen);
/openssl/doc/man3/
H A Dd2i_PKCS8PrivateKey_bio.pod17 char *kstr, int klen,
21 char *kstr, int klen,
25 char *kstr, int klen,
29 char *kstr, int klen,
H A DPEM_read_bio_PrivateKey.pod56 unsigned char *kstr, int klen,
60 unsigned char *kstr, int klen,
67 unsigned char *kstr, int klen,
71 unsigned char *kstr, int klen,
74 char *kstr, int klen,
77 char *kstr, int klen,
80 char *kstr, int klen,
83 char *kstr, int klen,
155 unsigned char *kstr, int klen,
158 unsigned char *kstr, int klen,
[all …]
H A DPEM_read_CMS.pod79 const unsigned char *kstr, int klen,
82 const unsigned char *kstr, int klen,
H A DOSSL_ENCODER_CTX_new_for_pkey.pod27 const unsigned char *kstr,
H A DOSSL_DECODER_CTX_new_for_pkey.pod24 const unsigned char *kstr,
/openssl/crypto/encode_decode/
H A Dencoder_pkey.c43 const unsigned char *kstr, in OSSL_ENCODER_CTX_set_passphrase() argument
46 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase()
H A Ddecoder_pkey.c27 const unsigned char *kstr, in OSSL_DECODER_CTX_set_passphrase() argument
30 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase()
/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c107 char kstr[PEM_BUFSIZE]; in p8info_to_encp8() local
114 if (!ossl_pw_get_passphrase(kstr, sizeof(kstr), &klen, NULL, 1, in p8info_to_encp8()
120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8()
121 OPENSSL_cleanse(kstr, klen); in p8info_to_encp8()
/openssl/test/
H A Dtls-provider.c1378 char kstr[PEM_BUFSIZE]; in p8info_to_encp8() local
1385 if (!ctx->pwcb(kstr, PEM_BUFSIZE, &klen, NULL, ctx->pwcbarg)) { in p8info_to_encp8()
1390 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8()
1391 OPENSSL_cleanse(kstr, klen); in p8info_to_encp8()
H A Dendecoder_legacy_test.c63 unsigned char *kstr, int klen,
/openssl/crypto/evp/
H A Dp_lib.c1158 const char *kstr) in unsup_alg() argument
1162 kstr, OBJ_nid2ln(pkey->type)) > 0; in unsup_alg()

Completed in 91 milliseconds