Lines Matching refs:out
43 unsigned char out[BUF_SIZE], ref[BUF_SIZE]; in do_bio_cipher() local
68 memset(out, 0, sizeof(out)); in do_bio_cipher()
69 out[i] = ~ref[i]; in do_bio_cipher()
70 len = BIO_read(b, out, i); in do_bio_cipher()
72 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
76 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
79 if (!TEST_mem_eq(out, len, ref, lref)) { in do_bio_cipher()
95 memset(out, 0, sizeof(out)); in do_bio_cipher()
96 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
101 if (!TEST_mem_eq(out, len, ref, lref)) { in do_bio_cipher()
116 memset(out, 0, sizeof(out)); in do_bio_cipher()
117 len = BIO_read(b, out, sizeof(out)); in do_bio_cipher()
120 if (!TEST_mem_eq(inp, DATA_SIZE, out, len)) in do_bio_cipher()
131 memset(out, 0, sizeof(out)); in do_bio_cipher()
132 out[i] = ~ref[i]; in do_bio_cipher()
133 len = BIO_read(b, out, i); in do_bio_cipher()
135 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
139 len += BIO_read(b, out + len, sizeof(out) - len); in do_bio_cipher()
142 if (!TEST_mem_eq(inp, DATA_SIZE, out, len)) { in do_bio_cipher()
158 memset(out, 0, sizeof(out)); in do_bio_cipher()
159 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
164 if (!TEST_mem_eq(inp, DATA_SIZE, out, len)) { in do_bio_cipher()