Lines Matching refs:ret
120 int ret=0;
128 ret=BIO_read(b->next_bio,out,outl);
131 if (ret > 0)
134 (unsigned int)ret)<=0) return (-1);
139 return(ret);
144 int ret=0;
151 ret=BIO_write(b->next_bio,in,inl);
154 if (ret > 0)
157 (unsigned int)ret))
169 return(ret);
177 long ret=1;
186 ret = EVP_DigestInit_ex(ctx,ctx->digest, NULL);
188 ret=0;
189 if (ret > 0)
190 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
199 ret=0;
210 ret=0;
214 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
220 ret = EVP_DigestInit_ex(ctx,md, NULL);
221 if (ret > 0)
232 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
235 return(ret);
240 long ret=1;
246 ret=BIO_callback_ctrl(b->next_bio,cmd,fp);
249 return(ret);
255 unsigned int ret;
261 if (EVP_DigestFinal_ex(ctx,(unsigned char *)buf,&ret)<=0)
264 return((int)ret);