Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dcmsapitest.c170 BIO *msgbio = BIO_new_mem_buf(msg, (int)strlen(msg)); in test_non_aead_on_auth_envelope_enc() local
176 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio)) in test_non_aead_on_auth_envelope_enc()
200 if (!TEST_int_eq(CMS_final(content, msgbio, NULL, CMS_TEXT), 0)) in test_non_aead_on_auth_envelope_enc()
206 BIO_free(msgbio); in test_non_aead_on_auth_envelope_enc()
217 BIO *msgbio = BIO_new_mem_buf(msg, strlen(msg)); in test_encrypt_decrypt() local
223 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio)) in test_encrypt_decrypt()
229 content = CMS_encrypt(certstack, msgbio, cipher, CMS_TEXT); in test_encrypt_decrypt()
252 BIO_free(msgbio); in test_encrypt_decrypt()
601 BIO *msgbio = BIO_new_mem_buf(msg, (int)strlen(msg)); in test_encrypted_data() local
609 cms = CMS_EncryptedData_encrypt(msgbio, EVP_aes_128_cbc(), key, keylen, SMIME_BINARY); in test_encrypted_data()
[all …]