Searched refs:tkey (Results 1 – 3 of 3) sorted by relevance
34 unsigned char *tkey = NULL; in ossl_cms_EncryptedContent_init_bio() local113 tkey = OPENSSL_malloc(tkeylen); in ossl_cms_EncryptedContent_init_bio()114 if (tkey == NULL) { in ossl_cms_EncryptedContent_init_bio()118 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0) in ossl_cms_EncryptedContent_init_bio()123 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()125 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()146 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()148 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()190 OPENSSL_clear_free(tkey, tkeylen); in ossl_cms_EncryptedContent_init_bio()
406 unsigned char *ek = NULL, *tkey = NULL; in PKCS7_dataDecode() local598 tkey = OPENSSL_malloc(tkeylen); in PKCS7_dataDecode()599 if (tkey == NULL) in PKCS7_dataDecode()601 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()604 ek = tkey; in PKCS7_dataDecode()606 tkey = NULL; in PKCS7_dataDecode()618 ek = tkey; in PKCS7_dataDecode()620 tkey = NULL; in PKCS7_dataDecode()630 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()631 tkey = NULL; in PKCS7_dataDecode()[all …]
2780 EVP_PKEY *tkey = NULL; in test_keygen_with_empty_template() local2794 if (!TEST_ptr(tkey = EVP_PKEY_new()) in test_keygen_with_empty_template()2795 || !TEST_true(EVP_PKEY_set_type(tkey, EVP_PKEY_RSA)) in test_keygen_with_empty_template()2796 || !TEST_ptr(ctx = EVP_PKEY_CTX_new(tkey, NULL))) in test_keygen_with_empty_template()2809 EVP_PKEY_free(tkey); in test_keygen_with_empty_template()
Completed in 13 milliseconds