Home | History | Annotate | Download | only in evp

Lines Matching refs:inl

74 #define M_do_cipher(ctx, out, in, inl) FIPS_cipher(ctx, out, in, inl)
76 #define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl)
263 const unsigned char *in, int inl)
266 return EVP_EncryptUpdate(ctx,out,outl,in,inl);
267 else return EVP_DecryptUpdate(ctx,out,outl,in,inl);
309 const unsigned char *in, int inl)
315 i = M_do_cipher(ctx, out, in, inl);
323 if (inl <= 0)
326 return inl == 0;
329 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0)
331 if(M_do_cipher(ctx,out,in,inl))
333 *outl=inl;
347 if (i+inl < bl)
349 memcpy(&(ctx->buf[i]),in,inl);
350 ctx->buf_len+=inl;
359 inl-=j;
367 i=inl&(bl-1);
368 inl-=i;
369 if (inl > 0)
371 if(!M_do_cipher(ctx,out,in,inl)) return 0;
372 *outl+=inl;
376 memcpy(ctx->buf,&(in[inl]),i);
435 const unsigned char *in, int inl)
442 fix_len = M_do_cipher(ctx, out, in, inl);
453 if (inl <= 0)
456 return inl == 0;
460 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
475 if(!EVP_EncryptUpdate(ctx,out,outl,in,inl))