Lines Matching refs:encoded
22 char *encoded; member
93 static int encode(unsigned const char *buf, unsigned buflen, char *encoded, in encode() argument
102 if (encoded != NULL) { in encode()
103 int elen = strlen(encoded); in encode()
105 return BIO_write(mem, encoded, elen) == elen; in encode()
152 unsigned buflen, int trunc, char *encoded, unsigned llen, in genb64() argument
167 || encode(buf, buflen, encoded, trunc, llen, wscnt, mem) <= 0 in genb64()
191 char *encoded = NULL; in test_bio_base64_run() local
201 if (t->encoded != NULL) in test_bio_base64_run()
219 elen = genb64(t->prefix, t->suffix, raw, t->bytes, t->trunc, t->encoded, in test_bio_base64_run()
220 llen, wscnt, &encoded); in test_bio_base64_run()
224 OPENSSL_free(encoded); in test_bio_base64_run()
242 BIO_write(bio, encoded, n1); in test_bio_base64_run()
253 BIO_write(bio, encoded + n1, elen - n1); in test_bio_base64_run()
305 OPENSSL_free(encoded); in test_bio_base64_run()
331 if (t->encoded) in generic_case()
332 fprintf(stderr, ", data='%s'", t->encoded); in generic_case()
349 if (t->encoded) in generic_case()
388 t.encoded = NULL; in test_bio_base64_generated()
422 t.encoded = "A\nAAA\nAAAA\n"; in test_bio_base64_corner_case_bug()