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)
271 const unsigned char *in, int inl)
274 return EVP_EncryptUpdate(ctx, out, outl, in, inl);
276 return EVP_DecryptUpdate(ctx, out, outl, in, inl);
323 const unsigned char *in, int inl)
328 i = M_do_cipher(ctx, out, in, inl);
336 if (inl <= 0) {
338 return inl == 0;
341 if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) {
342 if (M_do_cipher(ctx, out, in, inl)) {
343 *outl = inl;
354 if (bl - i > inl) {
355 memcpy(&(ctx->buf[i]), in, inl);
356 ctx->buf_len += inl;
365 * (inl - j) & ~(bl - 1)
369 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) {
377 inl -= j;
384 i = inl & (bl - 1);
385 inl -= i;
386 if (inl > 0) {
387 if (!M_do_cipher(ctx, out, in, inl))
389 *outl += inl;
393 memcpy(ctx->buf, &(in[inl]), i);
399 const unsigned char *in, int inl)
407 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
466 const unsigned char *in, int inl)
478 fix_len = M_do_cipher(ctx, out, in, inl);
487 if (inl <= 0) {
489 return inl == 0;
493 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
502 * the maximum multiple of the block length that is <= inl, or just:
503 * inl & ~(b - 1)
505 * (inl & ~(b - 1)) + b
508 if ((inl & ~(b - 1)) > INT_MAX - b) {
518 if (!evp_EncryptDecryptUpdate(ctx, out, outl, in, inl))