Searched refs:tkey (Results 1 – 3 of 3) sorted by relevance
35 unsigned char *tkey = NULL; in ossl_cms_EncryptedContent_init_bio() local123 tkey = OPENSSL_malloc(tkeylen); in ossl_cms_EncryptedContent_init_bio()124 if (tkey == NULL) in ossl_cms_EncryptedContent_init_bio()126 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0) in ossl_cms_EncryptedContent_init_bio()131 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()133 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()154 ec->key = tkey; in ossl_cms_EncryptedContent_init_bio()156 tkey = NULL; in ossl_cms_EncryptedContent_init_bio()198 OPENSSL_clear_free(tkey, tkeylen); in ossl_cms_EncryptedContent_init_bio()
451 unsigned char *ek = NULL, *tkey = NULL; in PKCS7_dataDecode() local647 tkey = OPENSSL_malloc(tkeylen); in PKCS7_dataDecode()648 if (tkey == NULL) in PKCS7_dataDecode()650 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0) in PKCS7_dataDecode()653 ek = tkey; in PKCS7_dataDecode()655 tkey = NULL; in PKCS7_dataDecode()667 ek = tkey; in PKCS7_dataDecode()669 tkey = NULL; in PKCS7_dataDecode()679 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()680 tkey = NULL; in PKCS7_dataDecode()[all …]
3586 EVP_PKEY *tkey = NULL; in test_keygen_with_empty_template() local3600 if (!TEST_ptr(tkey = EVP_PKEY_new()) in test_keygen_with_empty_template()3601 || !TEST_true(EVP_PKEY_set_type(tkey, EVP_PKEY_RSA)) in test_keygen_with_empty_template()3602 || !TEST_ptr(ctx = EVP_PKEY_CTX_new(tkey, NULL))) in test_keygen_with_empty_template()3615 EVP_PKEY_free(tkey); in test_keygen_with_empty_template()
Completed in 22 milliseconds