Lines Matching refs:inl
211 const unsigned char *in, int inl) in EVP_CipherUpdate() argument
214 return EVP_EncryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
216 return EVP_DecryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
300 const unsigned char *in, int inl) in evp_EncryptDecryptUpdate() argument
302 int i, j, bl, cmpl = inl; in evp_EncryptDecryptUpdate()
313 if (inl < 0 in evp_EncryptDecryptUpdate()
314 || (inl == 0 in evp_EncryptDecryptUpdate()
317 return inl == 0; in evp_EncryptDecryptUpdate()
327 i = ctx->cipher->do_cipher(ctx, out, in, inl); in evp_EncryptDecryptUpdate()
340 if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) { in evp_EncryptDecryptUpdate()
341 if (ctx->cipher->do_cipher(ctx, out, in, inl)) { in evp_EncryptDecryptUpdate()
342 *outl = inl; in evp_EncryptDecryptUpdate()
352 if (bl - i > inl) { in evp_EncryptDecryptUpdate()
353 memcpy(&(ctx->buf[i]), in, inl); in evp_EncryptDecryptUpdate()
354 ctx->buf_len += inl; in evp_EncryptDecryptUpdate()
367 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) { in evp_EncryptDecryptUpdate()
373 inl -= j; in evp_EncryptDecryptUpdate()
382 i = inl & (bl - 1); in evp_EncryptDecryptUpdate()
383 inl -= i; in evp_EncryptDecryptUpdate()
384 if (inl > 0) { in evp_EncryptDecryptUpdate()
385 if (!ctx->cipher->do_cipher(ctx, out, in, inl)) in evp_EncryptDecryptUpdate()
387 *outl += inl; in evp_EncryptDecryptUpdate()
391 memcpy(ctx->buf, &(in[inl]), i); in evp_EncryptDecryptUpdate()
398 const unsigned char *in, int inl) in EVP_EncryptUpdate() argument
406 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl); in EVP_EncryptUpdate()
465 const unsigned char *in, int inl) in EVP_DecryptUpdate() argument
467 int fix_len, cmpl = inl; in EVP_DecryptUpdate()
485 if (inl < 0 in EVP_DecryptUpdate()
486 || (inl == 0 in EVP_DecryptUpdate()
489 return inl == 0; in EVP_DecryptUpdate()
498 fix_len = ctx->cipher->do_cipher(ctx, out, in, inl); in EVP_DecryptUpdate()
508 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl); in EVP_DecryptUpdate()
528 if ((inl & ~(b - 1)) > INT_MAX - b) { in EVP_DecryptUpdate()
538 if (!evp_EncryptDecryptUpdate(ctx, out, outl, in, inl)) in EVP_DecryptUpdate()