Searched refs:msgbio (Results 1 – 1 of 1) sorted by relevance
| /src/crypto/openssl/test/ |
| H A D | cmsapitest.c | 30 BIO *msgbio = BIO_new_mem_buf(msg, strlen(msg)); in test_encrypt_decrypt() local 36 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio)) in test_encrypt_decrypt() 42 content = CMS_encrypt(certstack, msgbio, cipher, CMS_TEXT); in test_encrypt_decrypt() 65 BIO_free(msgbio); in test_encrypt_decrypt() 414 BIO *msgbio = BIO_new_mem_buf(msg, (int)strlen(msg)); in test_encrypted_data() local 422 cms = CMS_EncryptedData_encrypt(msgbio, EVP_aes_128_cbc(), key, keylen, SMIME_BINARY); in test_encrypted_data() 437 BIO_free(msgbio); in test_encrypted_data() 445 BIO *msgbio = BIO_new_mem_buf(msg, (int)strlen(msg)); in test_encrypted_data_aead() local 470 cms = CMS_EncryptedData_encrypt(msgbio, EVP_aes_128_gcm(), key, keylen, SMIME_BINARY); in test_encrypted_data_aead() 478 BIO_free(msgbio); in test_encrypted_data_aead()
|