Lines Matching refs:copy_len
691 size_t copy_len = 0; in mbedtls_cipher_update() local
713 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
716 copy_len); in mbedtls_cipher_update()
731 input += copy_len; in mbedtls_cipher_update()
732 ilen -= copy_len; in mbedtls_cipher_update()
743 copy_len = ilen % block_size; in mbedtls_cipher_update()
744 if (copy_len == 0 && in mbedtls_cipher_update()
747 copy_len = block_size; in mbedtls_cipher_update()
750 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update()
751 copy_len); in mbedtls_cipher_update()
753 ctx->unprocessed_len += copy_len; in mbedtls_cipher_update()
754 ilen -= copy_len; in mbedtls_cipher_update()