Home
last modified time | relevance | path

Searched refs:tkey (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_enc.c35 unsigned char *tkey = NULL; in ossl_cms_EncryptedContent_init_bio() local
123 tkey = OPENSSL_malloc(tkeylen); in ossl_cms_EncryptedContent_init_bio()
124 if (tkey == NULL) { in ossl_cms_EncryptedContent_init_bio()
128 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0) in ossl_cms_EncryptedContent_init_bio()
133 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()
135 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()
156 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()
158 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()
200 OPENSSL_clear_free(tkey, tkeylen); in ossl_cms_EncryptedContent_init_bio()
/third_party/openssl/crypto/cms/
H A Dcms_enc.c34 unsigned char *tkey = NULL; in ossl_cms_EncryptedContent_init_bio() local
122 tkey = OPENSSL_malloc(tkeylen); in ossl_cms_EncryptedContent_init_bio()
123 if (tkey == NULL) { in ossl_cms_EncryptedContent_init_bio()
127 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0) in ossl_cms_EncryptedContent_init_bio()
132 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()
134 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()
155 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()
157 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()
199 OPENSSL_clear_free(tkey, tkeylen); in ossl_cms_EncryptedContent_init_bio()
/third_party/node/deps/openssl/openssl/crypto/pkcs7/
H A Dpk7_doit.c410 unsigned char *ek = NULL, *tkey = NULL; in PKCS7_dataDecode() local
606 tkey = OPENSSL_malloc(tkeylen); in PKCS7_dataDecode()
607 if (tkey == NULL) in PKCS7_dataDecode()
609 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()
612 ek = tkey; in PKCS7_dataDecode()
614 tkey = NULL; in PKCS7_dataDecode()
626 ek = tkey; in PKCS7_dataDecode()
628 tkey = NULL; in PKCS7_dataDecode()
638 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()
639 tkey in PKCS7_dataDecode()
[all...]
/third_party/openssl/crypto/pkcs7/
H A Dpk7_doit.c410 unsigned char *ek = NULL, *tkey = NULL; in PKCS7_dataDecode() local
606 tkey = OPENSSL_malloc(tkeylen); in PKCS7_dataDecode()
607 if (tkey == NULL) in PKCS7_dataDecode()
609 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()
612 ek = tkey; in PKCS7_dataDecode()
614 tkey = NULL; in PKCS7_dataDecode()
626 ek = tkey; in PKCS7_dataDecode()
628 tkey = NULL; in PKCS7_dataDecode()
638 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()
639 tkey in PKCS7_dataDecode()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbiscan.cpp785 UnicodeString *tkey = new UnicodeString(s);
786 if (tkey == NULL || el == NULL || setToAdopt == NULL) {
788 delete tkey;
789 tkey = NULL;
798 el->key = tkey;
H A Dlocid.cpp1516 // function to NULL-terminating (tkey-tvalue) pairs.
1522 const char* tkey = ultag_getTKeyStart(str);
1523 int32_t tlangLen = (tkey == str) ? 0 :
1524 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1)));
1537 if (tkey != nullptr) {
1538 // We need to sort the tfields by tkey
1544 const char* tvalue = uprv_strchr(tkey, '-');
1553 tfields.insertElementAt((void*)tkey, tfields.size(), status);
1557 tkey
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbiscan.cpp783 UnicodeString *tkey = new UnicodeString(s);
784 if (tkey == nullptr || el == nullptr || setToAdopt == nullptr) {
786 delete tkey;
787 tkey = nullptr;
796 el->key = tkey;
H A Dlocid.cpp1523 // function to NUL-terminating (tkey-tvalue) pairs.
1529 const char* tkey = ultag_getTKeyStart(str);
1530 int32_t tlangLen = (tkey == str) ? 0 :
1531 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1)));
1544 if (tkey != nullptr) {
1545 // We need to sort the tfields by tkey
1551 const char* tvalue = uprv_strchr(tkey, '-');
1560 tfields.insertElementAt((void*)tkey, tfields.size(), status);
1564 tkey
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbiscan.cpp785 UnicodeString *tkey = new UnicodeString(s);
786 if (tkey == NULL || el == NULL || setToAdopt == NULL) {
788 delete tkey;
789 tkey = NULL;
798 el->key = tkey;
H A Dlocid.cpp1543 // function to NULL-terminating (tkey-tvalue) pairs.
1549 const char* tkey = ultag_getTKeyStart(str);
1550 int32_t tlangLen = (tkey == str) ? 0 :
1551 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1)));
1564 if (tkey != nullptr) {
1565 // We need to sort the tfields by tkey
1571 const char* tvalue = uprv_strchr(tkey, '-');
1579 tfields.insertElementAt((void*)tkey, tfields.size(), status);
1583 tkey
[all...]
/third_party/node/lib/
H A Durl.js732 const tkey = tkeys[tk];
733 result[tkey] = this[tkey];
/third_party/icu/icu4c/source/test/intltest/
H A Drestsnew.cpp989 const char *tkey=NULL; in testTag() local
990 UnicodeString value=tagelement.getNextString(&tkey, status); in testTag()
991 UnicodeString key(tkey); in testTag()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DULocale.java1676 String tkey = ""; in replaceTransformedExtensions()
1680 // Found the first tkey. Record the total length of the preceding in replaceTransformedExtensions()
1681 // tlang subtags. -1 if there is no tlang before the first tkey. in replaceTransformedExtensions()
1685 // Finish & store the previous tkey with its tvalue subtags. in replaceTransformedExtensions()
1689 // Start collecting subtags for this new tkey. in replaceTransformedExtensions()
1690 tkey = subtag; in replaceTransformedExtensions()
1694 builder.append(LanguageTag.SEP).append(toUnicodeLocaleType(tkey, subtag)); in replaceTransformedExtensions()
1700 // Finish & store the previous=last tkey with its tvalue subtags. in replaceTransformedExtensions()
/third_party/openssl/test/
H A Devp_extra_test.c2992 EVP_PKEY *tkey = NULL; in test_keygen_with_empty_template() local
3006 if (!TEST_ptr(tkey = EVP_PKEY_new()) in test_keygen_with_empty_template()
3007 || !TEST_true(EVP_PKEY_set_type(tkey, EVP_PKEY_RSA)) in test_keygen_with_empty_template()
3008 || !TEST_ptr(ctx = EVP_PKEY_CTX_new(tkey, NULL))) in test_keygen_with_empty_template()
3021 EVP_PKEY_free(tkey); in test_keygen_with_empty_template()

Completed in 29 milliseconds