Home
last modified time | relevance | path

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

/third_party/openssl/crypto/cms/
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/cms/
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/node/deps/openssl/openssl/crypto/pkcs7/
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 = NULL; in PKCS7_dataDecode()
[all …]
/third_party/openssl/crypto/pkcs7/
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 = NULL; in PKCS7_dataDecode()
[all …]
/third_party/node/deps/icu-small/source/common/
Drbbiscan.cpp783 UnicodeString *tkey = new UnicodeString(s); in findSetFor() local
784 if (tkey == nullptr || el == nullptr || setToAdopt == nullptr) { in findSetFor()
786 delete tkey; in findSetFor()
787 tkey = nullptr; in findSetFor()
796 el->key = tkey; in findSetFor()
Dlocid.cpp1529 const char* tkey = ultag_getTKeyStart(str); in replaceTransformedExtensions() local
1530 int32_t tlangLen = (tkey == str) ? 0 : in replaceTransformedExtensions()
1531 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1))); in replaceTransformedExtensions()
1544 if (tkey != nullptr) { in replaceTransformedExtensions()
1551 const char* tvalue = uprv_strchr(tkey, '-'); in replaceTransformedExtensions()
1560 tfields.insertElementAt((void*)tkey, tfields.size(), status); in replaceTransformedExtensions()
1564 tkey = nextTKey; in replaceTransformedExtensions()
1565 } while (tkey != nullptr); in replaceTransformedExtensions()
/third_party/icu/icu4c/source/common/
Drbbiscan.cpp785 UnicodeString *tkey = new UnicodeString(s); in findSetFor() local
786 if (tkey == NULL || el == NULL || setToAdopt == NULL) { in findSetFor()
788 delete tkey; in findSetFor()
789 tkey = NULL; in findSetFor()
798 el->key = tkey; in findSetFor()
Dlocid.cpp1522 const char* tkey = ultag_getTKeyStart(str); in replaceTransformedExtensions() local
1523 int32_t tlangLen = (tkey == str) ? 0 : in replaceTransformedExtensions()
1524 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1))); in replaceTransformedExtensions()
1537 if (tkey != nullptr) { in replaceTransformedExtensions()
1544 const char* tvalue = uprv_strchr(tkey, '-'); in replaceTransformedExtensions()
1553 tfields.insertElementAt((void*)tkey, tfields.size(), status); in replaceTransformedExtensions()
1557 tkey = nextTKey; in replaceTransformedExtensions()
1558 } while (tkey != nullptr); in replaceTransformedExtensions()
/third_party/skia/third_party/externals/icu/source/common/
Drbbiscan.cpp785 UnicodeString *tkey = new UnicodeString(s); in findSetFor() local
786 if (tkey == NULL || el == NULL || setToAdopt == NULL) { in findSetFor()
788 delete tkey; in findSetFor()
789 tkey = NULL; in findSetFor()
798 el->key = tkey; in findSetFor()
Dlocid.cpp1549 const char* tkey = ultag_getTKeyStart(str); in replaceTransformedExtensions() local
1550 int32_t tlangLen = (tkey == str) ? 0 : in replaceTransformedExtensions()
1551 ((tkey == nullptr) ? len : static_cast<int32_t>((tkey - str - 1))); in replaceTransformedExtensions()
1564 if (tkey != nullptr) { in replaceTransformedExtensions()
1571 const char* tvalue = uprv_strchr(tkey, '-'); in replaceTransformedExtensions()
1579 tfields.insertElementAt((void*)tkey, tfields.size(), status); in replaceTransformedExtensions()
1583 tkey = nextTKey; in replaceTransformedExtensions()
1584 } while (tkey != nullptr); in replaceTransformedExtensions()
/third_party/node/lib/
Durl.js732 const tkey = tkeys[tk];
733 result[tkey] = this[tkey];
/third_party/icu/icu4c/source/test/intltest/
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/openssl/test/
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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1676 String tkey = ""; in replaceTransformedExtensions() local
1690 tkey = subtag; in replaceTransformedExtensions()
1694 builder.append(LanguageTag.SEP).append(toUnicodeLocaleType(tkey, subtag)); in replaceTransformedExtensions()