Lines Matching refs:outl
47 int outl = 0, outl2 = 0; in t_fromb64() local
76 outl = -1; in t_fromb64()
87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
88 outl = -1; in t_fromb64()
92 outl = -1; in t_fromb64()
95 outl += outl2; in t_fromb64()
96 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64()
97 outl += outl2; in t_fromb64()
101 if ((int)padsize >= outl) { in t_fromb64()
102 outl = -1; in t_fromb64()
119 memmove(a, a + padsize, outl - padsize); in t_fromb64()
120 outl -= padsize; in t_fromb64()
126 return outl; in t_fromb64()
136 int outl = 0, outl2 = 0; in t_tob64() local
154 && !EVP_EncodeUpdate(ctx, (unsigned char *)dst, &outl, pad, in t_tob64()
160 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src, in t_tob64()
165 outl += outl2; in t_tob64()
166 EVP_EncodeFinal(ctx, (unsigned char *)dst + outl, &outl2); in t_tob64()
167 outl += outl2; in t_tob64()
171 memmove(dst, dst + leadz, outl - leadz); in t_tob64()
172 dst[outl - leadz] = '\0'; in t_tob64()