Home
last modified time | relevance | path

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

/third_party/openssl/crypto/pem/
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() argument
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() argument
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() argument
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() argument
66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_nid_bio()
[all …]
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)
Dpem_pkey.c316 (const char *)kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
317 return PEM_write_bio_PrivateKey_traditional(out, x, enc, kstr, klen, cb, u); in PEM_write_cb_ex_fnsig()
322 return PEM_write_bio_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, in PEM_write_cb_fnsig()
332 const unsigned char *kstr, int klen, in PEM_write_bio_PrivateKey_traditional() argument
350 pem_str, bp, x, enc, kstr, klen, cb, u); in PEM_write_bio_PrivateKey_traditional()
417 ret = PEM_write_bio_PrivateKey_ex(b, x, enc, kstr, klen, cb, u, in PEM_write_cb_ex_fnsig()
425 return PEM_write_PrivateKey_ex(out, x, enc, kstr, klen, cb, u, NULL, NULL); in PEM_write_cb_fnsig()
Dpem_lib.c295 const unsigned char *kstr, int klen, in PEM_ASN1_write() argument
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() argument
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()
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()
/third_party/openssl/ohos_lite/include/openssl/
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, int klen, pem_password_cb *cb, void *u);
[all …]
/third_party/openssl/include/openssl/
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,
483 const char *kstr, int klen,
486 const char *kstr, int klen,
[all …]
Dencoder.h57 const unsigned char *kstr, size_t klen);
Ddecoder.h57 const unsigned char *kstr, size_t klen);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dpem.rs22 kstr: #[const_ptr_if(ossl300)] c_uchar,
32 kstr: #[const_ptr_if(ossl300)] c_uchar,
41 kstr: #[const_ptr_if(ossl300)] c_uchar,
51 kstr: #[const_ptr_if(ossl300)] c_uchar,
61 kstr: #[const_ptr_if(ossl300)] c_char,
72 kstr: #[const_ptr_if(ossl300)] c_char,
/third_party/openssl/doc/man3/
Dd2i_PKCS8PrivateKey_bio.pod17 char *kstr, int klen,
21 char *kstr, int klen,
25 char *kstr, int klen,
29 char *kstr, int klen,
DPEM_read_bio_PrivateKey.pod54 unsigned char *kstr, int klen,
58 unsigned char *kstr, int klen,
62 unsigned char *kstr, int klen,
65 unsigned char *kstr, int klen,
69 unsigned char *kstr, int klen,
72 char *kstr, int klen,
75 char *kstr, int klen,
78 char *kstr, int klen,
81 char *kstr, int klen,
146 unsigned char *kstr, int klen,
[all …]
DPEM_read_CMS.pod79 const unsigned char *kstr, int klen,
82 const unsigned char *kstr, int klen,
DOSSL_ENCODER_CTX_new_for_pkey.pod27 const unsigned char *kstr,
DOSSL_DECODER_CTX_new_for_pkey.pod24 const unsigned char *kstr,
/third_party/googletest/googletest/src/hwext/
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/
D_json.c1505 PyObject *kstr = NULL; in encoder_listencode_dict() local
1568 kstr = key; in encoder_listencode_dict()
1571 kstr = encoder_encode_float(s, key); in encoder_listencode_dict()
1572 if (kstr == NULL) in encoder_listencode_dict()
1578 kstr = _encoded_const(key); in encoder_listencode_dict()
1579 if (kstr == NULL) in encoder_listencode_dict()
1583 kstr = PyLong_Type.tp_repr(key); in encoder_listencode_dict()
1584 if (kstr == NULL) { in encoder_listencode_dict()
1604 encoded = encoder_encode_string(s, kstr); in encoder_listencode_dict()
1605 Py_CLEAR(kstr); in encoder_listencode_dict()
[all …]
/third_party/openssl/crypto/encode_decode/
Dencoder_pkey.c42 const unsigned char *kstr, in OSSL_ENCODER_CTX_set_passphrase() argument
45 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_ENCODER_CTX_set_passphrase()
Ddecoder_pkey.c23 const unsigned char *kstr, in OSSL_DECODER_CTX_set_passphrase() argument
26 return ossl_pw_set_passphrase(&ctx->pwdata, kstr, klen); in OSSL_DECODER_CTX_set_passphrase()
/third_party/openssl/providers/implementations/encode_decode/
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/test/
Dendecoder_legacy_test.c63 unsigned char *kstr, int klen,
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DULocaleTest.java4338 String kstr = testcase[i/2 + 1]; in TestExtension() local
4339 String ext = loc.getExtension(Character.valueOf(kstr.charAt(0))); in TestExtension()
4342 + kstr + ", returned=" + ext + ", expected=" + testcase[i/2 + 2] in TestExtension()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4407 String kstr = testcase[i/2 + 1]; in TestExtension() local
4408 String ext = loc.getExtension(Character.valueOf(kstr.charAt(0))); in TestExtension()
4411 + kstr + ", returned=" + ext + ", expected=" + testcase[i/2 + 2] in TestExtension()
/third_party/openssl/crypto/evp/
Dp_lib.c1148 const char *kstr) in unsup_alg() argument
1152 kstr, OBJ_nid2ln(pkey->type)) > 0; in unsup_alg()