/openssl/crypto/pem/ |
H A D | pem_pk8.c | 23 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 D | pem_local.h | 55 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 D | pem_pkey.c | 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()
|
H A D | pem_lib.c | 302 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 D | pem_info.c | 225 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 D | pem.h | 397 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 D | encoder.h | 57 const unsigned char *kstr, size_t klen);
|
H A D | decoder.h | 57 const unsigned char *kstr, size_t klen);
|
/openssl/doc/man3/ |
H A D | d2i_PKCS8PrivateKey_bio.pod | 17 char *kstr, int klen, 21 char *kstr, int klen, 25 char *kstr, int klen, 29 char *kstr, int klen,
|
H A D | PEM_read_bio_PrivateKey.pod | 56 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 D | PEM_read_CMS.pod | 79 const unsigned char *kstr, int klen, 82 const unsigned char *kstr, int klen,
|
H A D | OSSL_ENCODER_CTX_new_for_pkey.pod | 27 const unsigned char *kstr,
|
H A D | OSSL_DECODER_CTX_new_for_pkey.pod | 24 const unsigned char *kstr,
|
/openssl/crypto/encode_decode/ |
H A D | encoder_pkey.c | 43 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 D | decoder_pkey.c | 27 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 D | encode_key2any.c | 107 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 D | tls-provider.c | 1378 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 D | endecoder_legacy_test.c | 63 unsigned char *kstr, int klen,
|
/openssl/crypto/evp/ |
H A D | p_lib.c | 1158 const char *kstr) in unsup_alg() argument 1162 kstr, OBJ_nid2ln(pkey->type)) > 0; in unsup_alg()
|