Lines Matching refs:outl
44 int outl = 0, outl2 = 0; in t_fromb64() local
73 outl = -1; in t_fromb64()
84 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
85 outl = -1; in t_fromb64()
89 outl = -1; in t_fromb64()
92 outl += outl2; in t_fromb64()
93 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64()
94 outl += outl2; in t_fromb64()
98 if ((int)padsize >= outl) { in t_fromb64()
99 outl = -1; in t_fromb64()
116 memmove(a, a + padsize, outl - padsize); in t_fromb64()
117 outl -= padsize; in t_fromb64()
123 return outl; in t_fromb64()
133 int outl = 0, outl2 = 0; in t_tob64() local
151 && !EVP_EncodeUpdate(ctx, (unsigned char *)dst, &outl, pad, in t_tob64()
157 if (!EVP_EncodeUpdate(ctx, (unsigned char *)dst + outl, &outl2, src, in t_tob64()
162 outl += outl2; in t_tob64()
163 EVP_EncodeFinal(ctx, (unsigned char *)dst + outl, &outl2); in t_tob64()
164 outl += outl2; in t_tob64()
168 memmove(dst, dst + leadz, outl - leadz); in t_tob64()
169 dst[outl - leadz] = '\0'; in t_tob64()