Home | History | Annotate | Download | only in dist

Lines Matching refs:b64

128 sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
134 if (d == NULL || b64 == NULL || sshbuf_len(d) >= SIZE_MAX / 2)
147 if ((r = sshbuf_put_u8(b64, s[i])) != 0)
149 if (i % 70 == 69 && (r = sshbuf_put_u8(b64, '\n')) != 0)
152 if ((i - 1) % 70 != 69 && (r = sshbuf_put_u8(b64, '\n')) != 0)
155 if ((r = sshbuf_put(b64, s, strlen(s))) != 0)
183 sshbuf_b64tod(struct sshbuf *buf, const char *b64)
185 size_t plen = strlen(b64);
193 if ((nlen = b64_pton(b64, p, plen)) < 0) {
206 sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
245 r = sshbuf_putb(b64, b);