Home | History | Annotate | Download | only in evp

Lines Matching refs:inl

73 #define M_do_cipher(ctx, out, in, inl) FIPS_cipher(ctx, out, in, inl)
75 #define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl)
262 const unsigned char *in, int inl)
265 return EVP_EncryptUpdate(ctx,out,outl,in,inl);
266 else return EVP_DecryptUpdate(ctx,out,outl,in,inl);
308 const unsigned char *in, int inl)
314 i = M_do_cipher(ctx, out, in, inl);
322 if (inl <= 0)
325 return inl == 0;
328 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0)
330 if(M_do_cipher(ctx,out,in,inl))
332 *outl=inl;
346 if (i+inl < bl)
348 memcpy(&(ctx->buf[i]),in,inl);
349 ctx->buf_len+=inl;
358 inl-=j;
366 i=inl&(bl-1);
367 inl-=i;
368 if (inl > 0)
370 if(!M_do_cipher(ctx,out,in,inl)) return 0;
371 *outl+=inl;
375 memcpy(ctx->buf,&(in[inl]),i);
434 const unsigned char *in, int inl)
441 fix_len = M_do_cipher(ctx, out, in, inl);
452 if (inl <= 0)
455 return inl == 0;
459 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
474 if(!EVP_EncryptUpdate(ctx,out,outl,in,inl))