Home
last modified time | relevance | path

Searched refs:kstr (Results 1 - 25 of 31) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpem_pk8.c23 const char *kstr, int klen,
30 const char *kstr, int klen,
42 const char *kstr, int klen, in PEM_write_bio_PKCS8PrivateKey_nid()
45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey_nid()
49 const char *kstr, int klen, in PEM_write_bio_PKCS8PrivateKey()
52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey()
56 const char *kstr, int klen, in i2d_PKCS8PrivateKey_bio()
59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_bio()
63 const char *kstr, int klen, in i2d_PKCS8PrivateKey_nid_bio()
66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, kle in i2d_PKCS8PrivateKey_nid_bio()
41 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PKCS8PrivateKey_nid() argument
48 PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PKCS8PrivateKey() argument
55 i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_bio() argument
62 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_nid_bio() argument
69 do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) do_pk8pkey() argument
208 i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_fp() argument
215 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_nid_fp() argument
222 PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_PKCS8PrivateKey_nid() argument
229 PEM_write_PKCS8PrivateKey(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_PKCS8PrivateKey() argument
236 do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) do_pk8pkey_fp() argument
[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()
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()
339 PEM_write_bio_PrivateKey_traditional(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PrivateKey_traditional() argument
H A Dpem_lib.c295 const unsigned char *kstr, int klen, in PEM_ASN1_write()
306 ret = PEM_ASN1_write_bio(i2d, name, b, x, enc, kstr, klen, callback, u); in PEM_ASN1_write()
314 const unsigned char *kstr, int klen, in PEM_ASN1_write_bio()
356 if (kstr == NULL) { in PEM_ASN1_write_bio()
369 kstr = (unsigned char *)buf; in PEM_ASN1_write_bio()
378 if (!EVP_BytesToKey(enc, EVP_md5(), iv, kstr, klen, 1, key, NULL)) in PEM_ASN1_write_bio()
381 if (kstr == (unsigned char *)buf) in PEM_ASN1_write_bio()
293 PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) PEM_ASN1_write() argument
312 PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) PEM_ASN1_write_bio() argument
H A Dpem_info.c225 const unsigned char *kstr, int klen, in PEM_X509_INFO_write_bio()
291 enc, kstr, klen, cb, u) <= 0) in PEM_X509_INFO_write_bio()
224 PEM_X509_INFO_write_bio(BIO *bp, const X509_INFO *xi, EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) PEM_X509_INFO_write_bio() argument
/third_party/openssl/crypto/pem/
H A Dpem_pk8.c23 const char *kstr, int klen,
30 const char *kstr, int klen,
42 const char *kstr, int klen, in PEM_write_bio_PKCS8PrivateKey_nid()
45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey_nid()
49 const char *kstr, int klen, in PEM_write_bio_PKCS8PrivateKey()
52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey()
56 const char *kstr, int klen, in i2d_PKCS8PrivateKey_bio()
59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_bio()
63 const char *kstr, int klen, in i2d_PKCS8PrivateKey_nid_bio()
66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, kle in i2d_PKCS8PrivateKey_nid_bio()
41 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PKCS8PrivateKey_nid() argument
48 PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PKCS8PrivateKey() argument
55 i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_bio() argument
62 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_nid_bio() argument
69 do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) do_pk8pkey() argument
208 i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_fp() argument
215 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) i2d_PKCS8PrivateKey_nid_fp() argument
222 PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_PKCS8PrivateKey_nid() argument
229 PEM_write_PKCS8PrivateKey(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_PKCS8PrivateKey() argument
236 do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, const char *kstr, int klen, pem_password_cb *cb, void *u, const char *propq) do_pk8pkey_fp() argument
[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()
363 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
430 ret = PEM_write_bio_PrivateKey_ex(b, x, enc, kstr, klen, cb, u, in PEM_write_cb_ex_fnsig()
438 return PEM_write_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, NULL, NULL); in PEM_write_cb_fnsig()
339 PEM_write_bio_PrivateKey_traditional(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) PEM_write_bio_PrivateKey_traditional() argument
H A Dpem_lib.c295 const unsigned char *kstr, int klen, in PEM_ASN1_write()
306 ret = PEM_ASN1_write_bio(i2d, name, b, x, enc, kstr, klen, callback, u); in PEM_ASN1_write()
314 const unsigned char *kstr, int klen, in PEM_ASN1_write_bio()
356 if (kstr == NULL) { in PEM_ASN1_write_bio()
369 kstr = (unsigned char *)buf; in PEM_ASN1_write_bio()
378 if (!EVP_BytesToKey(enc, EVP_md5(), iv, kstr, klen, 1, key, NULL)) in PEM_ASN1_write_bio()
381 if (kstr == (unsigned char *)buf) in PEM_ASN1_write_bio()
293 PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) PEM_ASN1_write() argument
312 PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, const void *x, const EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *callback, void *u) PEM_ASN1_write_bio() argument
H A Dpem_info.c225 const unsigned char *kstr, int klen, in PEM_X509_INFO_write_bio()
291 enc, kstr, klen, cb, u) <= 0) in PEM_X509_INFO_write_bio()
224 PEM_X509_INFO_write_bio(BIO *bp, const X509_INFO *xi, EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void *u) PEM_X509_INFO_write_bio() argument
/third_party/openssl/ohos_lite/include/openssl/
H A Dpem.h92 unsigned char *kstr, int klen, pem_password_cb *cb, \
95 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
100 unsigned char *kstr, int klen, pem_password_cb *cb, \
103 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \
128 unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
130 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); \
135 unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \
137 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,(void *)x,enc,kstr,klen,cb,u); \
193 unsigned char *kstr, int klen, pem_password_cb *cb, void *u);
208 unsigned char *kstr, in
[all...]
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dpem.rs22 kstr: #[const_ptr_if(ossl300)] c_uchar, in PEM_write_bio_RSAPrivateKey()
32 kstr: #[const_ptr_if(ossl300)] c_uchar, in PEM_write_bio_DSAPrivateKey()
41 kstr: #[const_ptr_if(ossl300)] c_uchar, in PEM_write_bio_ECPrivateKey()
51 kstr: #[const_ptr_if(ossl300)] c_uchar, in PEM_write_bio_PrivateKey()
61 kstr: #[const_ptr_if(ossl300)] c_char, in PEM_write_bio_PKCS8PrivateKey()
72 kstr: #[const_ptr_if(ossl300)] c_char, in i2d_PKCS8PrivateKey_bio()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dpem.h83 const unsigned char *kstr, int klen, \
92 const unsigned char *kstr, int klen, \
133 x, enc, kstr, klen, cb, u); \
166 x, enc, kstr, klen, cb, u); \
392 const unsigned char *kstr, int klen,
403 const unsigned char *kstr, int klen,
415 const unsigned char *kstr, int klen,
478 const unsigned char *kstr, int klen,
481 /* Why do these take a signed char *kstr? */
483 const char *kstr, in
[all...]
H A Ddecoder.h57 const unsigned char *kstr, size_t klen);
H A Dencoder.h57 const unsigned char *kstr, size_t klen);
/third_party/openssl/include/openssl/
H A Dpem.h83 const unsigned char *kstr, int klen, \
92 const unsigned char *kstr, int klen, \
133 x, enc, kstr, klen, cb, u); \
166 x, enc, kstr, klen, cb, u); \
392 const unsigned char *kstr, int klen,
403 const unsigned char *kstr, int klen,
415 const unsigned char *kstr, int klen,
478 const unsigned char *kstr, int klen,
481 /* Why do these take a signed char *kstr? */
483 const char *kstr, in
[all...]
H A Ddecoder.h57 const unsigned char *kstr, size_t klen);
H A Dencoder.h57 const unsigned char *kstr, size_t klen);
/third_party/googletest/googletest/src/hwext/
H A Dgtest-filter.cc134 const char *kstr = iter->first; in postParsingArguments() local
138 if (compareStringsByIgnoreCase(kStrictFilter, kstr)) { in postParsingArguments()
140 } else if (flagForName(kstr, vstr, flag)) { in postParsingArguments()
141 string strname = string(kstr); in postParsingArguments()
/third_party/python/Modules/
H A D_json.c1507 PyObject *kstr = NULL; in encoder_listencode_dict() local
1570 kstr = key; in encoder_listencode_dict()
1573 kstr = encoder_encode_float(s, key); in encoder_listencode_dict()
1574 if (kstr == NULL) in encoder_listencode_dict()
1580 kstr = _encoded_const(key); in encoder_listencode_dict()
1581 if (kstr == NULL) in encoder_listencode_dict()
1585 kstr = PyLong_Type.tp_repr(key); in encoder_listencode_dict()
1586 if (kstr == NULL) { in encoder_listencode_dict()
1606 encoded = encoder_encode_string(s, kstr); in encoder_listencode_dict()
1607 Py_CLEAR(kstr); in encoder_listencode_dict()
[all...]
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
H A Dencoder_pkey.c42 const unsigned char *kstr, in OSSL_ENCODER_CTX_set_passphrase()
45 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase()
41 OSSL_ENCODER_CTX_set_passphrase(OSSL_ENCODER_CTX *ctx, const unsigned char *kstr, size_t klen) OSSL_ENCODER_CTX_set_passphrase() argument
H A Ddecoder_pkey.c23 const unsigned char *kstr, in OSSL_DECODER_CTX_set_passphrase()
26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase()
22 OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx, const unsigned char *kstr, size_t klen) OSSL_DECODER_CTX_set_passphrase() argument
/third_party/openssl/crypto/encode_decode/
H A Dencoder_pkey.c42 const unsigned char *kstr, in OSSL_ENCODER_CTX_set_passphrase()
45 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase()
41 OSSL_ENCODER_CTX_set_passphrase(OSSL_ENCODER_CTX *ctx, const unsigned char *kstr, size_t klen) OSSL_ENCODER_CTX_set_passphrase() argument
/third_party/node/deps/openssl/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()
/third_party/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()

Completed in 22 milliseconds

12