Home | History | Annotate | Download | only in test

Lines Matching defs:encoded

22     char *encoded;
93 static int encode(unsigned const char *buf, unsigned buflen, char *encoded,
101 if (encoded != NULL) {
102 int elen = strlen(encoded);
104 return BIO_write(mem, encoded, elen) == elen;
151 unsigned buflen, int trunc, char *encoded, unsigned llen,
165 || encode(buf, buflen, encoded, trunc, llen, wscnt, mem) <= 0
188 char *encoded = NULL;
195 * Pre-encoded data always encodes NUL octets. If all we care about is the
198 if (t->encoded != NULL)
216 elen = genb64(t->prefix, t->suffix, raw, t->bytes, t->trunc, t->encoded,
217 llen, wscnt, &encoded);
221 OPENSSL_free(encoded);
239 BIO_write(bio, encoded, n1);
250 BIO_write(bio, encoded + n1, elen - n1);
302 OPENSSL_free(encoded);
328 if (t->encoded)
329 fprintf(stderr, ", data='%s'", t->encoded);
346 if (t->encoded)
385 t.encoded = NULL;
419 t.encoded = "A\nAAA\nAAAA\n";
450 * corresponding to encoded lengths (plus linebreaks and ignored
469 * Internally, each test may loop over a range of encoded line lengths and