Lines Matching refs:inl

466                      const unsigned char *in, int inl)  in EVP_CipherUpdate()  argument
469 return EVP_EncryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
471 return EVP_DecryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
569 const unsigned char *in, int inl) in evp_EncryptDecryptUpdate() argument
571 int i, j, bl, cmpl = inl; in evp_EncryptDecryptUpdate()
585 i = ctx->cipher->do_cipher(ctx, out, in, inl); in evp_EncryptDecryptUpdate()
593 if (inl <= 0) { in evp_EncryptDecryptUpdate()
595 return inl == 0; in evp_EncryptDecryptUpdate()
602 if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) { in evp_EncryptDecryptUpdate()
603 if (ctx->cipher->do_cipher(ctx, out, in, inl)) { in evp_EncryptDecryptUpdate()
604 *outl = inl; in evp_EncryptDecryptUpdate()
614 if (bl - i > inl) { in evp_EncryptDecryptUpdate()
615 memcpy(&(ctx->buf[i]), in, inl); in evp_EncryptDecryptUpdate()
616 ctx->buf_len += inl; in evp_EncryptDecryptUpdate()
629 if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) { in evp_EncryptDecryptUpdate()
634 inl -= j; in evp_EncryptDecryptUpdate()
643 i = inl & (bl - 1); in evp_EncryptDecryptUpdate()
644 inl -= i; in evp_EncryptDecryptUpdate()
645 if (inl > 0) { in evp_EncryptDecryptUpdate()
646 if (!ctx->cipher->do_cipher(ctx, out, in, inl)) in evp_EncryptDecryptUpdate()
648 *outl += inl; in evp_EncryptDecryptUpdate()
652 memcpy(ctx->buf, &(in[inl]), i); in evp_EncryptDecryptUpdate()
659 const unsigned char *in, int inl) in EVP_EncryptUpdate() argument
662 size_t soutl, inl_ = (size_t)inl; in EVP_EncryptUpdate()
710 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl); in EVP_EncryptUpdate()
807 const unsigned char *in, int inl) in EVP_DecryptUpdate() argument
809 int fix_len, cmpl = inl, ret; in EVP_DecryptUpdate()
811 size_t soutl, inl_ = (size_t)inl; in EVP_DecryptUpdate()
868 fix_len = ctx->cipher->do_cipher(ctx, out, in, inl); in EVP_DecryptUpdate()
877 if (inl <= 0) { in EVP_DecryptUpdate()
879 return inl == 0; in EVP_DecryptUpdate()
883 return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl); in EVP_DecryptUpdate()
903 if ((inl & ~(b - 1)) > INT_MAX - b) { in EVP_DecryptUpdate()
913 if (!evp_EncryptDecryptUpdate(ctx, out, outl, in, inl)) in EVP_DecryptUpdate()