Symbol: bio_mem
lib/libcrypto/bio/bss_mem.c
125
struct bio_mem *bm;
lib/libcrypto/bio/bss_mem.c
158
struct bio_mem *bm;
lib/libcrypto/bio/bss_mem.c
184
struct bio_mem *bm;
lib/libcrypto/bio/bss_mem.c
206
struct bio_mem *bm = bio->ptr;
lib/libcrypto/bio/bss_mem.c
231
struct bio_mem *bm = bio->ptr;
lib/libcrypto/bio/bss_mem.c
270
struct bio_mem *bm = bio->ptr;
lib/libcrypto/bio/bss_mem.c
337
struct bio_mem *bm = bio->ptr;
lib/libcrypto/bio/bss_mem.c
76
bio_mem_pending(struct bio_mem *bm)
lib/libcrypto/bio/bss_mem.c
85
bio_mem_read_ptr(struct bio_mem *bm)
regress/lib/libcrypto/asn1/asn1x509.c
266
BIO *bio_mem = NULL;
regress/lib/libcrypto/asn1/asn1x509.c
272
if ((bio_mem = BIO_new_mem_buf(dh_test_key, -1)) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
275
if ((pkey = PEM_read_bio_PrivateKey(bio_mem, NULL, NULL, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
283
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
284
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
287
if (!PEM_write_bio_PrivateKey(bio_mem, pkey, NULL, NULL, 0, 0, NULL)) {
regress/lib/libcrypto/asn1/asn1x509.c
292
len = BIO_get_mem_data(bio_mem, &data);
regress/lib/libcrypto/asn1/asn1x509.c
334
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
352
BIO *bio_mem = NULL;
regress/lib/libcrypto/asn1/asn1x509.c
358
if ((bio_mem = BIO_new_mem_buf((void *)dsa_test_key, -1)) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
361
if ((dsa_a = PEM_read_bio_DSAPrivateKey(bio_mem, NULL, NULL, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
508
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
509
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
512
if ((len = i2d_DSA_PUBKEY_bio(bio_mem, dsa_a)) < 0) {
regress/lib/libcrypto/asn1/asn1x509.c
517
len = BIO_get_mem_data(bio_mem, &data);
regress/lib/libcrypto/asn1/asn1x509.c
523
if ((dsa_b = d2i_DSA_PUBKEY_bio(bio_mem, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
536
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
553
BIO *bio_mem = NULL;
regress/lib/libcrypto/asn1/asn1x509.c
559
if ((bio_mem = BIO_new_mem_buf((void *)ec_test_key, -1)) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
562
if ((ec_a = PEM_read_bio_ECPrivateKey(bio_mem, NULL, NULL, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
653
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
654
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
657
if ((len = i2d_EC_PUBKEY_bio(bio_mem, ec_a)) < 0) {
regress/lib/libcrypto/asn1/asn1x509.c
662
len = BIO_get_mem_data(bio_mem, &data);
regress/lib/libcrypto/asn1/asn1x509.c
668
if ((ec_b = d2i_EC_PUBKEY_bio(bio_mem, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
687
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
704
BIO *bio_mem = NULL;
regress/lib/libcrypto/asn1/asn1x509.c
710
if ((bio_mem = BIO_new_mem_buf((void *)rsa_test_key, -1)) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
713
if ((rsa_a = PEM_read_bio_RSAPrivateKey(bio_mem, NULL, NULL, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
790
BIO_free_all(bio_mem);
regress/lib/libcrypto/asn1/asn1x509.c
791
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/asn1/asn1x509.c
794
if ((len = i2d_RSA_PUBKEY_bio(bio_mem, rsa_a)) < 0) {
regress/lib/libcrypto/asn1/asn1x509.c
799
len = BIO_get_mem_data(bio_mem, &data);
regress/lib/libcrypto/asn1/asn1x509.c
805
if ((rsa_b = d2i_RSA_PUBKEY_bio(bio_mem, NULL)) == NULL) {
regress/lib/libcrypto/asn1/asn1x509.c
819
BIO_free_all(bio_mem);
regress/lib/libcrypto/base64/base64test.c
283
BIO *bio_b64, *bio_mem;
regress/lib/libcrypto/base64/base64test.c
296
bio_mem = BIO_new(BIO_s_mem());
regress/lib/libcrypto/base64/base64test.c
297
if (bio_mem == NULL)
regress/lib/libcrypto/base64/base64test.c
300
bio_mem = BIO_push(bio_b64, bio_mem);
regress/lib/libcrypto/base64/base64test.c
305
len = BIO_write(bio_mem, bt->in, bt->in_len);
regress/lib/libcrypto/base64/base64test.c
312
if (BIO_flush(bio_mem) < 0) {
regress/lib/libcrypto/base64/base64test.c
329
len = BIO_get_mem_data(bio_mem, &out);
regress/lib/libcrypto/base64/base64test.c
356
BIO_free_all(bio_mem);
regress/lib/libcrypto/base64/base64test.c
365
BIO *bio_b64, *bio_mem;
regress/lib/libcrypto/base64/base64test.c
384
bio_mem = BIO_new_mem_buf(input, inlen);
regress/lib/libcrypto/base64/base64test.c
385
if (bio_mem == NULL)
regress/lib/libcrypto/base64/base64test.c
395
bio_mem = BIO_push(bio_b64, bio_mem);
regress/lib/libcrypto/base64/base64test.c
401
len = BIO_read(bio_mem, buf, BUF_SIZE);
regress/lib/libcrypto/base64/base64test.c
435
BIO_free_all(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
151
BIO *bio_mem = NULL;
regress/lib/libcrypto/cms/cmstest.c
164
if ((bio_mem = BIO_new_mem_buf(cms_cert_1, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
166
if ((cert = PEM_read_bio_X509(bio_mem, NULL, NULL, NULL)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
171
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
172
if ((bio_mem = BIO_new_mem_buf(cms_key_1, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
174
if ((pkey = PEM_read_bio_PrivateKey(bio_mem, NULL, NULL, NULL)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
177
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
178
if ((bio_mem = BIO_new_mem_buf(cms_msg, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
181
if ((ci = CMS_encrypt(certs, bio_mem, EVP_aes_256_cbc(), 0)) == NULL) {
regress/lib/libcrypto/cms/cmstest.c
194
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
195
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/cms/cmstest.c
198
if (!CMS_decrypt(ci, pkey, cert, NULL, bio_mem, 0)) {
regress/lib/libcrypto/cms/cmstest.c
204
if ((mem_len = BIO_get_mem_data(bio_mem, &p)) <= 0) {
regress/lib/libcrypto/cms/cmstest.c
230
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
248
BIO *bio_mem = NULL;
regress/lib/libcrypto/cms/cmstest.c
262
if ((bio_mem = BIO_new_mem_buf(cert_pem, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
264
if ((cert = PEM_read_bio_X509(bio_mem, NULL, NULL, NULL)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
269
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
270
if ((bio_mem = BIO_new_mem_buf(ca_pem, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
272
if ((ca = PEM_read_bio_X509(bio_mem, NULL, NULL, NULL)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
279
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
280
if ((bio_mem = BIO_new_mem_buf(key_pem, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
282
if ((pkey = PEM_read_bio_PrivateKey(bio_mem, NULL, NULL, NULL)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
285
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
286
if ((bio_mem = BIO_new_mem_buf(cms_msg, -1)) == NULL)
regress/lib/libcrypto/cms/cmstest.c
289
if ((ci = CMS_sign(cert, pkey, NULL, bio_mem, 0)) == NULL) {
regress/lib/libcrypto/cms/cmstest.c
302
BIO_free(bio_mem);
regress/lib/libcrypto/cms/cmstest.c
303
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/cms/cmstest.c
306
if (!CMS_verify(ci, certs, store, NULL, bio_mem, 0)) {
regress/lib/libcrypto/cms/cmstest.c
312
if ((mem_len = BIO_get_mem_data(bio_mem, &p)) <= 0) {
regress/lib/libcrypto/cms/cmstest.c
338
BIO_free(bio_mem);
regress/lib/libcrypto/ec/ec_asn1_test.c
149
BIO *bio_mem = NULL;
regress/lib/libcrypto/ec/ec_asn1_test.c
193
if ((bio_mem = BIO_new(BIO_s_mem())) == NULL)
regress/lib/libcrypto/ec/ec_asn1_test.c
196
if (i2d_ECPKParameters_bio(bio_mem, group_a) < 0) {
regress/lib/libcrypto/ec/ec_asn1_test.c
201
len = BIO_get_mem_data(bio_mem, &data);
regress/lib/libcrypto/ec/ec_asn1_test.c
206
if ((group_b = d2i_ECPKParameters_bio(bio_mem, NULL)) == NULL) {
regress/lib/libcrypto/ec/ec_asn1_test.c
219
BIO_free_all(bio_mem);